IBotStorageContext interface
Context object passed to IBotStorage calls.
Properties
address | (Optional) Address of the message received by the bot. |
conversation |
(Optional) ID of the conversation being persisted. If missing conversationData and privateConversationData won't be persisted. |
persist |
If true IBotStorage should persist conversationData. |
persist |
If true IBotStorage should persist userData. |
user |
(Optional) ID of the user being persisted. If missing userData won't be persisted. |
Property Details
address
conversationId
(Optional) ID of the conversation being persisted. If missing conversationData and privateConversationData won't be persisted.
conversationId?: string
Property Value
string
persistConversationData
If true IBotStorage should persist conversationData.
persistConversationData: boolean
Property Value
boolean
persistUserData
If true IBotStorage should persist userData.
persistUserData: boolean
Property Value
boolean
userId
(Optional) ID of the user being persisted. If missing userData won't be persisted.
userId?: string
Property Value
string