Wapi.js Docs / StickerMessageEventInterface

Interface: StickerMessageEventInterface

Represents an event interface for a sticker message.

Interface

StickerMessageEventInterface

Extends

Properties

client

client: Client
The client instance associated with the event.

Inherited from

MediaMessageEventInterface.client

Source

packages/wapi.js/src/webhook/events/base/interface.ts:18

context

context: MessageContext
The context of the message.

Inherited from

MediaMessageEventInterface.context

Source

packages/wapi.js/src/webhook/events/base/interface.ts:35

getUrl()

getUrl: () => Promise<string>
A function that returns the URL of the media.

Returns

Promise<string>

Inherited from

MediaMessageEventInterface.getUrl

Source

packages/wapi.js/src/webhook/events/base/interface.ts:64

mediaId

mediaId: string
The ID of the media.

Inherited from

MediaMessageEventInterface.mediaId

Source

packages/wapi.js/src/webhook/events/base/interface.ts:51

messageId

messageId: string
The ID of the message.

Inherited from

MediaMessageEventInterface.messageId

Source

packages/wapi.js/src/webhook/events/base/interface.ts:30

mimeType

mimeType: string
The MIME type of the media.

Inherited from

MediaMessageEventInterface.mimeType

Source

packages/wapi.js/src/webhook/events/base/interface.ts:55

sha256

sha256: string
The SHA256 hash of the media.

Inherited from

MediaMessageEventInterface.sha256

Source

packages/wapi.js/src/webhook/events/base/interface.ts:59

sticker

sticker: StickerMessage
The sticker message associated with the event.

Source

packages/wapi.js/src/webhook/events/sticker/interface.ts:15

timestamp

timestamp: number
The timestamp of the message.

Inherited from

MediaMessageEventInterface.timestamp

Source

packages/wapi.js/src/webhook/events/base/interface.ts:39