共用方式為


MicrosoftBotIdentifier Class

Represents an identifier for a Microsoft bot.

Default value is True for tennantzed bots. :keyword cloud: Cloud environment that the bot belongs to. Default value is PUBLIC. :paramtype cloud: str or ~azure.communication.chat.CommunicationCloudEnvironment

Constructor

MicrosoftBotIdentifier(bot_id: str, **kwargs: Any)

Parameters

Name Description
bot_id
Required
str

Microsoft bot id.

Keyword-Only Parameters

Name Description
is_resource_account_configured

False if the identifier is global.

Variables

Name Description
raw_id
str

Optional raw ID of the identifier.

kind

The type of identifier.

MicrosoftBotProperties

The properties of the identifier. The keys in this mapping include:

  • <<bot_id(str): The id of the Microsoft bot.

  • is_resource_account_configured (bool): Set this to false if the bot is global.

The default is true for tennantized bots.

  • cloud (str): Cloud environment that this identifier belongs to.

Attributes

kind

kind = 'microsoft_bot'