new ReplyButtonInteractionEvent(Creates a new instance of ReplyButtonInteractionEvent.params
):ReplyButtonInteractionEvent
Client
The client object.
• params.data
The data object.
• params.data.buttonId: string
• params.data.from: string
• params.data.isForwarded: boolean
• params.data.messageId: string
• params.data.timestamp: string
• params.data.title: string
ReplyButtonInteractionEvent
InteractionEvent
.constructor
buttonId: string
ButtonReplyInteractionMessageEventInterface
.buttonId
client: Client
The client instance associated with the event.
ButtonReplyInteractionMessageEventInterface
.client
InteractionEvent
.client
context: MessageContext
The context of the message.
ButtonReplyInteractionMessageEventInterface
.context
InteractionEvent
.context
isForwarded: boolean
InteractionEvent
.isForwarded
messageId: string
The ID of the message.
ButtonReplyInteractionMessageEventInterface
.messageId
InteractionEvent
.messageId
timestamp: number
The timestamp of the message.
ButtonReplyInteractionMessageEventInterface
.timestamp
InteractionEvent
.timestamp
title: string
ButtonReplyInteractionMessageEventInterface
.title
react(Reacts to the message with an emoji.params
):Promise
<object
|object
>
string
The emoji to react with.
• params.phoneNumber: string
The phone number of the sender.
Promise
<object
| object
>
InteractionEvent
.react
read():Marks the message as read.Promise
<object
|object
|object
|object
|object
>
Promise
<object
| object
| object
| object
| object
>
InteractionEvent
.read
reply<Sends a reply to the message.T
>(props
):Promise
<object
|object
>
BaseMessage
<string
>
T
The message to send as a reply.
Promise
<object
| object
>
InteractionEvent
.reply