Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AbstractWebSocketMessageClient
    • TriggeredMessageClient

Implements

  • MessageClient

Index

Constructors

constructor

  • new TriggeredMessageClient(ws: WebSocketLifecycle, workspaceId: string, configuration: Configuration): TriggeredMessageClient

Properties

Protected Readonly configuration

configuration: Configuration

Protected Readonly correlationId

correlationId: string

Protected Readonly request

request: CommandIncoming | EventIncoming

Protected Readonly source

source: Source

Protected Readonly team

team: { id: string; name?: string }

Type declaration

  • id: string
  • Optional name?: string

Protected Readonly ws

ws: WebSocketLifecycle

Methods

delete

  • delete(destinations: Destination | Destination[], options: RequiredMessageOptions): Promise<void>
  • Parameters

    • destinations: Destination | Destination[]
    • options: RequiredMessageOptions

    Returns Promise<void>

Protected doSend

  • doSend(msg: string | SlackMessage, destinations: Destination | Destination[], options?: MessageOptions): Promise<any>
  • Parameters

    • msg: string | SlackMessage
    • destinations: Destination | Destination[]
    • Optional options: MessageOptions

    Returns Promise<any>

respond

  • respond(msg: any, options?: MessageOptions): Promise<any>
  • Parameters

    • msg: any
    • Optional options: MessageOptions

    Returns Promise<any>

send

  • send(msg: any, destinations: Destination | Destination[], options?: MessageOptions): Promise<any>
  • Parameters

    • msg: any
    • destinations: Destination | Destination[]
    • Optional options: MessageOptions

    Returns Promise<any>

Protected sendResponse

  • sendResponse(response: any): Promise<void>
  • Parameters

    • response: any

    Returns Promise<void>

Generated using TypeDoc