Wapi.js home pagelight logodark logo
  • Report Bug
  • Github
  • Github
Guide
API Reference
  • Star us on GitHub
  • Sign up to WapiKit
  • Community
  • API Documentation
    • README
    • classes
    • enumerations
    • interfaces
      • AdInteractionEventInterface
      • AudioMessageEventInterface
      • AudioMessageInterface
      • BaseEventInterface
      • ButtonInteractionMessageInterface
      • ButtonReplyInteractionMessageEventInterface
      • ContactMessageEventInterface
      • ContactMessageInterface
      • CustomerIdentityChangeEventInterface
      • CustomerNumberChangeEventInterface
      • DocumentMessageEventInterface
      • DocumentMessageInterface
      • ImageMessageEventInterface
      • ImageMessageInterface
      • InteractiveMessageInterface
      • ListInteractionMessageEventInterface
      • ListInteractionMessageInterface
      • LocationMessageEventInterface
      • LocationMessageInterface
      • MediaMessageEventInterface
      • MediaMessageInterface
      • MessageEventInterface
      • MessageFailedEventInterface
      • OrderMessageEventInterface
      • ProductInquiryEventInterface
      • ProductInterface
      • ProductListMessageInterface
      • ProductListSectionInterface
      • ProductMessageMessageInterface
      • QuickReplyButtonInteractionEventInterface
      • ReactionEventInterface
      • ReactionMessageInterface
      • StatusUpdateEventInterface
      • StickerMessageEventInterface
      • StickerMessageInterface
      • TemplateMessageInterface
      • TextMessageEventInterface
      • TextMessageInterface
      • UnknownEventInterface
      • VideoMessageEventInterface
      • VideoMessageInterface
    • type aliases
    interfaces

    MessageEventInterface

    Wapi.js Docs / MessageEventInterface

    ​
    Interface: MessageEventInterface

    Represents the interface for a message event.

    ​
    Interface

    MessageEventInterface

    ​
    Extends

    • BaseEventInterface

    ​
    Extended by

    • MediaMessageEventInterface
    • ContactMessageEventInterface
    • LocationMessageEventInterface
    • OrderMessageEventInterface
    • ProductInquiryEventInterface
    • ReactionEventInterface
    • TextMessageEventInterface

    ​
    Properties

    ​
    client

    client: Client

    The client instance associated with the event.

    ​
    Inherited from

    BaseEventInterface.client

    ​
    Source

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


    ​
    context

    context: MessageContext

    The context of the message.

    ​
    Source

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


    ​
    messageId

    messageId: string

    The ID of the message.

    ​
    Source

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


    ​
    timestamp

    timestamp: number

    The timestamp of the message.

    ​
    Source

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

    Was this page helpful?

    Suggest editsRaise issue
    MediaMessageInterfaceMessageFailedEventInterface
    xgithublinkedin
    Powered by Mintlify
    On this page
    • Interface: MessageEventInterface
    • Interface
    • Extends
    • Extended by
    • Properties
    • client
    • Inherited from
    • Source
    • context
    • Source
    • messageId
    • Source
    • timestamp
    • Source