IAddress interface
Address routing information for an event. Addresses are bidirectional meaning they can be used to address both incoming and outgoing events. They're also connector specific meaning that connectors are free to add their own fields to the address. To send a proactive message to a user bots should save the address from a received message. Depending on the channel addresses can change, so bots should periodically update the address stored for a given user.
Properties
bot | Bot that either received or is sending the message. |
channel |
Unique identifier for channel. |
conversation | Represents the current conversation and tracks where replies should be routed to. Can be deleted to start a new conversation with a user on channels that support new conversations. |
user | User that sent or should receive the message. |
Property Details
bot
channelId
Unique identifier for channel.
channelId: string
Property Value
string
conversation
Represents the current conversation and tracks where replies should be routed to. Can be deleted to start a new conversation with a user on channels that support new conversations.
conversation?: IIdentity