Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IBotStorageContext

Context object passed to IBotStorage calls.

Hierarchy

  • IBotStorageContext

Index

Properties

Optional address

address: IAddress

(Optional) Address of the message received by the bot.

Optional conversationId

conversationId: string

(Optional) ID of the conversation being persisted. If missing conversationData and privateConversationData won't be persisted.

persistConversationData

persistConversationData: boolean

If true IBotStorage should persist conversationData.

persistUserData

persistUserData: boolean

If true IBotStorage should persist userData.

Optional userId

userId: string

(Optional) ID of the user being persisted. If missing userData won't be persisted.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method