BotRequestContext.FromBotAppId(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Builds context carrying only the supplied bot app id, used as-is (no channel-prefix stripping). Use for proactive flows where the bot app id is known directly rather than derived from an activity.
public static Microsoft.Teams.Core.Http.BotRequestContext? FromBotAppId(string? botAppId);
static member FromBotAppId : string -> Microsoft.Teams.Core.Http.BotRequestContext
Public Shared Function FromBotAppId (botAppId As String) As BotRequestContext
Parameters
- botAppId
- String
The bot application (client) id, or null.
Returns
The context, or null when botAppId is null or empty.