new ListInteractionEvent(Creates a new instance of ListInteractionEvent.params
):ListInteractionEvent
Client
The client object.
• params.data
The data object.
• params.data.description: string
• params.data.from: string
• params.data.isForwarded: boolean
• params.data.listId: string
• params.data.messageId: string
• params.data.timestamp: string
• params.data.title: string
ListInteractionEvent
InteractionEvent
.constructor
client: Client
The client instance associated with the event.
ListInteractionMessageEventInterface
.client
InteractionEvent
.client
context: MessageContext
The context of the message.
ListInteractionMessageEventInterface
.context
InteractionEvent
.context
description: string
ListInteractionMessageEventInterface
.description
isForwarded: boolean
InteractionEvent
.isForwarded
listId: string
ListInteractionMessageEventInterface
.listId
messageId: string
The ID of the message.
ListInteractionMessageEventInterface
.messageId
InteractionEvent
.messageId
timestamp: number
The timestamp of the message.
ListInteractionMessageEventInterface
.timestamp
InteractionEvent
.timestamp
title: string
ListInteractionMessageEventInterface
.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