Skip to main content

Type Alias: Respond()

type Respond: (message) => Promise<unknown>;

A function used to send message updates after an action is handled. This function can be used up to 5 times in 30 minutes.

Parameters

message: any

a message. Dialog submissions do not allow replace_original: false on this message.

Returns

Promise<unknown>

there's no contract or interface for the resolution value, but this Promise will resolve when the HTTP response from the response_url request is complete and reject when there is an error.

Defined in

adapter.ts:789