Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

forBot

get

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

    • botId: string
    • key: string
    • Optional path: 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?: string, expiry?: string): Promise<void>
  • Parameters

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

    Returns Promise<void>

setStorageWithExpiry

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

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

    Returns any

Generated using TypeDoc