Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BotConversations

Index

Methods

create

createMapping

  • createMapping(channel: string, localId: uuid, foreignId: string): Promise<void>
  • Parameters

    • channel: string
    • localId: uuid
    • foreignId: string

    Returns Promise<void>

delete

deleteMapping

  • deleteMapping(channel: string, localId: uuid, foreignId: string): Promise<boolean>
  • Parameters

    • channel: string
    • localId: uuid
    • foreignId: string

    Returns Promise<boolean>

    true if a conversation was deleted

get

getForeignId

  • getForeignId(channel: string, localId: uuid): Promise<string | undefined>

getLocalId

  • getLocalId(channel: string, foreignId: string): Promise<string | undefined>
  • Parameters

    • channel: string
    • foreignId: string

    Returns Promise<string | undefined>

list

recent

Generated using TypeDoc