Skip to content

ButtonContext

ButtonContext = object & FollowUps

Defined in: types.ts:24

What a button handler gets: the click, the part of the id after : as value, and ways to answer.

deferUpdate: (work) => Response

Parameters<Context<Options>["defer"]>[0]

Response

interaction: APIMessageComponentButtonInteraction

modal: typeof modalResponse

reply: typeof replyResponse

update: typeof updateResponse

value: string | undefined