Interface ICommandContext

Provides the ability to acknowledge a command

Hierarchy

  • ICommandContext

Properties

Methods

Properties

commandId: string

ID of the associated command

Methods

  • If an acknowledgement has not been sent, acknowledge() sends an acknowledgemetn

    Returns Promise<void>

  • If an acknowledgement has not been sent, error() responds to the command with an error

    Parameters

    • code: number

      Error code

    • message: string

      Error message

    Returns Promise<void>