共用方式為


IActivity interface

屬性

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'

屬性詳細資料

channelData

包含通道特定內容。

channelData?: any

屬性值

any

channelId

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

channelId: string

屬性值

string

conversation

識別活動所屬的交談。

conversation: ConversationAccount

屬性值

entities

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

entities?: Entity[]

屬性值

Entity[]

from

識別郵件的寄件者。

from: ChannelAccount

屬性值

id

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

id?: string

屬性值

string

localTimestamp

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

localTimestamp?: Date

屬性值

Date

recipient

識別郵件的收件者。

recipient: ChannelAccount

屬性值

replyToId

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

replyToId?: string

屬性值

string

serviceUrl

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

serviceUrl: string

屬性值

string

timestamp

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

timestamp?: Date

屬性值

Date

type

包含活動類型 'iActivity'

type: ActivityTypes | string

屬性值

ActivityTypes | string