Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

forBot

get

  • get(botId: string, key: string, path?: undefined | string): Promise<any>
  • Parameters

    • botId: string
    • key: string
    • Optional path: undefined | string

    Returns Promise<any>

getConversationStorageKey

  • getConversationStorageKey(sessionId: string, variable: string): string
  • Parameters

    • sessionId: string
    • variable: string

    Returns string

getGlobalStorageKey

  • getGlobalStorageKey(variable: string): string

getStorageWithExpiry

  • getStorageWithExpiry(botId: string, key: string): any

getUserStorageKey

  • getUserStorageKey(userId: string, variable: string): string

global

removeStorageKeysStartingWith

  • removeStorageKeysStartingWith(key: any): Promise<void>

set

  • set(botId: string, key: string, value: any, path?: undefined | string, expiry?: undefined | string): Promise<void>
  • Parameters

    • botId: string
    • key: string
    • value: any
    • Optional path: undefined | string
    • Optional expiry: undefined | string

    Returns Promise<void>

setStorageWithExpiry

  • setStorageWithExpiry(botId: string, key: string, value: any, expiry?: undefined | string): any
  • Parameters

    • botId: string
    • key: string
    • value: any
    • Optional expiry: undefined | string

    Returns any

Generated using TypeDoc