TeamsInfo Class
- Inheritance
-
builtins.objectTeamsInfo
Constructor
TeamsInfo()
Methods
get_meeting_info
async static get_meeting_info(turn_context: TurnContext, meeting_id: str = None) -> MeetingInfo
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
meeting_id
|
Default value: None
|
get_meeting_participant
async static get_meeting_participant(turn_context: TurnContext, meeting_id: str = None, participant_id: str = None, tenant_id: str = None) -> TeamsMeetingParticipant
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
meeting_id
|
Default value: None
|
participant_id
|
Default value: None
|
tenant_id
|
Default value: None
|
get_member
async static get_member(turn_context: TurnContext, member_id: str) -> TeamsChannelAccount
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
member_id
Required
|
|
get_members
async static get_members(turn_context: TurnContext) -> List[TeamsChannelAccount]
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
get_paged_members
async static get_paged_members(turn_context: TurnContext, continuation_token: str = None, page_size: int = None) -> List[TeamsPagedMembersResult]
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
continuation_token
|
Default value: None
|
page_size
|
Default value: None
|
get_paged_team_members
async static get_paged_team_members(turn_context: TurnContext, team_id: str = '', continuation_token: str = None, page_size: int = None) -> List[TeamsPagedMembersResult]
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
team_id
|
|
continuation_token
|
Default value: None
|
page_size
|
Default value: None
|
get_team_channels
async static get_team_channels(turn_context: TurnContext, team_id: str = '') -> List[ChannelInfo]
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
team_id
|
|
get_team_details
async static get_team_details(turn_context: TurnContext, team_id: str = '') -> TeamDetails
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
team_id
|
|
get_team_id
static get_team_id(turn_context: TurnContext)
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
get_team_member
async static get_team_member(turn_context: TurnContext, team_id: str = '', member_id: str = None) -> TeamsChannelAccount
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
team_id
|
|
member_id
|
Default value: None
|
get_team_members
async static get_team_members(turn_context: TurnContext, team_id: str = '') -> List[TeamsChannelAccount]
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
team_id
|
|
get_teams_connector_client
async static get_teams_connector_client(turn_context: TurnContext) -> TeamsConnectorClient
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
send_message_to_teams_channel
async static send_message_to_teams_channel(turn_context: TurnContext, activity: Activity, teams_channel_id: str, *, bot_app_id: str = None) -> Tuple[ConversationReference, str]
Parameters
Name | Description |
---|---|
turn_context
Required
|
|
activity
Required
|
|
teams_channel_id
Required
|
|
Keyword-Only Parameters
Name | Description |
---|---|
bot_app_id
Required
|
|