Interface: MediaMessageEventInterface
Represents the interface for a media message event.Interface
MediaMessageEventInterfaceExtends
Extended by
AudioMessageEventInterfaceDocumentMessageEventInterfaceImageMessageEventInterfaceStickerMessageEventInterfaceVideoMessageEventInterface
Properties
client
client: Client
The client instance associated with the event.
Inherited from
MessageEventInterface.client
Source
packages/wapi.js/src/webhook/events/base/interface.ts:18context
context: MessageContext
The context of the message.
Inherited from
MessageEventInterface.context
Source
packages/wapi.js/src/webhook/events/base/interface.ts:35getUrl()
getUrl: () =>A function that returns the URL of the media.Promise<string>
Returns
Promise<string>
Source
packages/wapi.js/src/webhook/events/base/interface.ts:64mediaId
mediaId: string
The ID of the media.
Source
packages/wapi.js/src/webhook/events/base/interface.ts:51messageId
messageId: string
The ID of the message.
Inherited from
MessageEventInterface.messageId
Source
packages/wapi.js/src/webhook/events/base/interface.ts:30mimeType
mimeType: string
The MIME type of the media.
Source
packages/wapi.js/src/webhook/events/base/interface.ts:55sha256
sha256: string
The SHA256 hash of the media.
Source
packages/wapi.js/src/webhook/events/base/interface.ts:59timestamp
timestamp: number
The timestamp of the message.
Inherited from
MessageEventInterface.timestamp