IClientContext interface
Properties
app |
This ID is the unique identifier assigned to the app after deployment and is critical for ensuring the correct app instance is recognized across hosts. |
app |
Unique ID for the current session for use in correlating telemetry data. A session corresponds to the lifecycle of an app. A new session begins upon the creation of a webview (on Teams mobile) or iframe (in Teams desktop) hosting the app, and ends when it is destroyed. |
auth |
The MSAL entra token. |
channel |
The Microsoft Teams ID for the channel with which the content is associated. |
chat |
The Microsoft Teams ID for the chat with which the content is associated. |
meeting |
Meeting Id used by tab when running in meeting context |
message |
The ID of the parent message from which this task module was launched. This is only available in task modules launched from bot cards. |
page |
The developer-defined unique ID for the page this content points to. |
sub |
The developer-defined unique ID for the sub-page this content points to. This field should be used to restore to a specific state within a page, such as scrolling to or activating a specific piece of content. |
team |
The Microsoft Teams ID for the team with which the content is associated. |
tenant |
The Microsoft Entra tenant ID of the current user. |
user |
The Microsoft Entra object id of the current user. |
Property Details
appId
This ID is the unique identifier assigned to the app after deployment and is critical for ensuring the correct app instance is recognized across hosts.
appId?: string
Property Value
string
appSessionId
Unique ID for the current session for use in correlating telemetry data. A session corresponds to the lifecycle of an app. A new session begins upon the creation of a webview (on Teams mobile) or iframe (in Teams desktop) hosting the app, and ends when it is destroyed.
appSessionId: string
Property Value
string
authToken
The MSAL entra token.
authToken?: string
Property Value
string
channelId
The Microsoft Teams ID for the channel with which the content is associated.
channelId?: string
Property Value
string
chatId
The Microsoft Teams ID for the chat with which the content is associated.
chatId?: string
Property Value
string
meetingId
Meeting Id used by tab when running in meeting context
meetingId?: string
Property Value
string
messageId
The ID of the parent message from which this task module was launched. This is only available in task modules launched from bot cards.
messageId?: string
Property Value
string
pageId
The developer-defined unique ID for the page this content points to.
pageId: string
Property Value
string
subPageId
The developer-defined unique ID for the sub-page this content points to. This field should be used to restore to a specific state within a page, such as scrolling to or activating a specific piece of content.
subPageId?: string
Property Value
string
teamId
The Microsoft Teams ID for the team with which the content is associated.
teamId?: string
Property Value
string
tenantId
The Microsoft Entra tenant ID of the current user.
tenantId?: string
Property Value
string
userId
The Microsoft Entra object id of the current user.
userId?: string
Property Value
string