IConversationUpdate interface
The Properties of a conversation have changed.
- Extends
Properties
address | Address routing information for the event. Save this field to external storage somewhere to later compose a proactive message to the user. |
agent | SDK thats processing the event. Will always be 'botbuilder'. |
history |
If true then history was disclosed. |
members |
Array of members added to the conversation. |
members |
Array of members removed from the conversation. |
reactions |
Array of reactions added to an activity. |
reactions |
Array of reactions removed from an activity. |
reply |
The ID of the event this update is related to. |
source | The original source of the event (i.e. 'facebook', 'skype', 'slack', etc.) |
source |
The original event in the sources native schema. For outgoing messages can be used to pass source specific event data like custom attachments. |
topic |
The conversations new topic name. |
type | Defines type of event. Should be 'message' for an IMessage. |
user | For incoming messages this is the user that sent the message. By default this is a copy of address.user but you can configure your bot with a lookupUser function that lets map the incoming user to an internal user id. |
Property Details
address
Address routing information for the event. Save this field to external storage somewhere to later compose a proactive message to the user.
address: IAddress
Property Value
agent
SDK thats processing the event. Will always be 'botbuilder'.
agent: string
Property Value
string
historyDisclosed
If true then history was disclosed.
historyDisclosed?: boolean
Property Value
boolean
membersAdded
membersRemoved
Array of members removed from the conversation.
membersRemoved?: IIdentity[]
Property Value
reactionsAdded
Array of reactions added to an activity.
reactionsAdded?: IMessageReaction[]
Property Value
reactionsRemoved
Array of reactions removed from an activity.
reactionsRemoved?: IMessageReaction[]
Property Value
replyToId
The ID of the event this update is related to.
replyToId?: string
Property Value
string
source
The original source of the event (i.e. 'facebook', 'skype', 'slack', etc.)
source: string
Property Value
string
sourceEvent
The original event in the sources native schema. For outgoing messages can be used to pass source specific event data like custom attachments.
sourceEvent: any
Property Value
any
topicName
The conversations new topic name.
topicName?: string
Property Value
string
type
Defines type of event. Should be 'message' for an IMessage.
type: string
Property Value
string
user
For incoming messages this is the user that sent the message. By default this is a copy of address.user but you can configure your bot with a lookupUser function that lets map the incoming user to an internal user id.
user: IIdentity