Edit

Share via


IAddress interface

Address routing information for a message. Addresses are bidirectional meaning they can be used to address both incoming and outgoing messages. They're also connector specific meaning that connectors are free to add their own fields.

Properties

bot

Bot that either received or is sending the message.

channelId

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

Bot that either received or is sending the message.

bot: IIdentity

Property Value

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

Property Value

user

User that sent or should receive the message.

user: IIdentity

Property Value