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.
Type Declaration
Section titled “Type Declaration”deferUpdate
Section titled “deferUpdate”deferUpdate: (
work) =>Response
Parameters
Section titled “Parameters”Parameters<Context<Options>["defer"]>[0]
Returns
Section titled “Returns”Response
interaction
Section titled “interaction”interaction:
APIMessageComponentButtonInteraction
modal: typeof
modalResponse
reply: typeof
replyResponse
update
Section titled “update”update: typeof
updateResponse
value:
string|undefined