Interface ExtendedMessageReceivedItem

Extended inbound item returned only by constructEventWithGroups.

interface ExtendedMessageReceivedItem {
    contacts?: null | Record<string, unknown>[];
    ctwa_clid?: null | string;
    edit?: null | MessageReceivedEdit;
    group_id?: null | string;
    id: string;
    identity_key_hash?: null | string;
    interactive: null | MessageReceivedInteractive;
    location: null | MessageReceivedLocation;
    media: null | MessageReceivedMediaAsset;
    order?: null | MessageReceivedOrder;
    participant?: null | string;
    received_at: string;
    referral?: null | MessageReceivedReferral;
    referred_product?: null | MessageReceivedReferredProduct;
    replied_to: null | MessageReceivedRepliedTo;
    revoke?: null | MessageReceivedRevoke;
    sender_participant?: null | string;
    system?: null | Record<string, unknown>;
    text: null | string;
    type: ExtendedMessageReceivedType;
    unsupported?: null | MessageReceivedUnsupported;
}

Hierarchy

Properties

contacts?: null | Record<string, unknown>[]

Contact cards supplied by the customer, including contact-info responses.

ctwa_clid?: null | string
edit?: null | MessageReceivedEdit

Present when type is "edit". Official Cloud API coexistence envelope.

group_id?: null | string

Opaque Meta group ID; absent for individual conversations.

id: string
identity_key_hash?: null | string

Identity-change hash when Meta identity checks are enabled.

interactive: null | MessageReceivedInteractive

Tap metadata when type is "interactive", otherwise null.

location: null | MessageReceivedLocation
order?: null | MessageReceivedOrder

Official catalog order when type is "order".

participant?: null | string

Alias retained for consumers that use Meta's participant terminology.

received_at: string
referral?: null | MessageReceivedReferral

Click-to-WhatsApp referral/ad attribution.

referred_product?: null | MessageReceivedReferredProduct
replied_to: null | MessageReceivedRepliedTo

Set when this message quotes another, otherwise null.

revoke?: null | MessageReceivedRevoke

Present when type is "revoke". Official Cloud API coexistence envelope.

sender_participant?: null | string

WhatsApp user ID of the participant who sent this group message.

system?: null | Record<string, unknown>

Meta system-message payload, including identity migration notices.

text: null | string
unsupported?: null | MessageReceivedUnsupported

Present when type is "unsupported". Mirrors Cloud API messages[].unsupported and messages[].errors.