共用方式為


ICommandActivity interface

非同步外部命令。

Extends

屬性

name

事件的名稱。

value

此命令的值。

繼承的屬性

channelData

包含通道特定內容。

channelId

包含可唯一識別通道的識別碼。 由通道設定。

conversation

識別活動所屬的交談。

entities

表示訊息中所提及的實體。

from

識別郵件的寄件者。

id

包含可唯一識別通道上活動的識別碼。

localTimestamp

包含訊息的本機日期和時間,以 ISO-8601 格式表示。 例如,2016-09-23T13:07:49.4714686-07:00。

recipient

識別郵件的收件者。

replyToId

包含此訊息為回復之訊息的識別碼。

serviceUrl

包含指定通道服務端點的 URL。 由通道設定。

timestamp

包含以 ISO-8601 格式表示的訊息傳送日期和時間。

type

包含活動類型 'iActivity'

屬性詳細資料

name

事件的名稱。

name: string

屬性值

string

value

此命令的值。

value?: CommandValue<T>

屬性值

繼承的屬性詳細資料

channelData

包含通道特定內容。

channelData?: any

屬性值

any

繼承自IActivity.channelData

channelId

包含可唯一識別通道的識別碼。 由通道設定。

channelId: string

屬性值

string

繼承自IActivity.channelId

conversation

識別活動所屬的交談。

conversation: ConversationAccount

屬性值

繼承自IActivity.conversation

entities

表示訊息中所提及的實體。

entities?: Entity[]

屬性值

Entity[]

繼承自IActivity.entities

from

識別郵件的寄件者。

from: ChannelAccount

屬性值

繼承自IActivity.from

id

包含可唯一識別通道上活動的識別碼。

id?: string

屬性值

string

繼承自IActivity.id

localTimestamp

包含訊息的本機日期和時間,以 ISO-8601 格式表示。 例如,2016-09-23T13:07:49.4714686-07:00。

localTimestamp?: Date

屬性值

Date

繼承自IActivity.localTimestamp

recipient

識別郵件的收件者。

recipient: ChannelAccount

屬性值

繼承自IActivity.recipient

replyToId

包含此訊息為回復之訊息的識別碼。

replyToId?: string

屬性值

string

繼承自IActivity.replyToId

serviceUrl

包含指定通道服務端點的 URL。 由通道設定。

serviceUrl: string

屬性值

string

繼承自IActivity.serviceUrl

timestamp

包含以 ISO-8601 格式表示的訊息傳送日期和時間。

timestamp?: Date

屬性值

Date

繼承自IActivity.timestamp

type

包含活動類型 'iActivity'

type: ActivityTypes | string

屬性值

ActivityTypes | string

繼承自IActivity.type