teams Package
Modules
teams_activity_extensions | |
teams_activity_handler | |
teams_helper | |
teams_info | |
teams_sso_token_exchange_middleware |
Classes
TeamsActivityHandler | |
TeamsInfo | |
TeamsSSOTokenExchangeMiddleware |
If the activity name is signin/tokenExchange, self middleware will attempt to exchange the token, and deduplicate the incoming call, ensuring only one exchange request is processed. Initializes a instance of the class. sign on token exchange. |
Functions
teams_get_channel_id
teams_get_channel_id(activity: Activity) -> str
Parameters
Name | Description |
---|---|
activity
Required
|
|
teams_get_team_info
teams_get_team_info(activity: Activity) -> TeamInfo
Parameters
Name | Description |
---|---|
activity
Required
|
|
teams_notify_user
teams_notify_user(activity: Activity, alert_in_meeting: bool = None, external_resource_url: str = None)
Parameters
Name | Description |
---|---|
activity
Required
|
|
alert_in_meeting
|
Default value: None
|
external_resource_url
|
Default value: None
|