AudioMessageEventInterface
DocumentMessageEventInterface
ImageMessageEventInterface
StickerMessageEventInterface
VideoMessageEventInterface
client: Client
The client instance associated with the event.
MessageEventInterface
.client
context: MessageContext
The context of the message.
MessageEventInterface
.context
getUrl: () =>A function that returns the URL of the media.Promise
<string
>
Promise
<string
>
mediaId: string
The ID of the media.
messageId: string
The ID of the message.
MessageEventInterface
.messageId
mimeType: string
The MIME type of the media.
sha256: string
The SHA256 hash of the media.
timestamp: number
The timestamp of the message.
MessageEventInterface
.timestamp