Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface MessageInboundEventItem

    interface MessageInboundEventItem {
        accept_time?: Date;
        channel_identity?: ChannelIdentity;
        contact_id?: string;
        contact_message?: ContactMessage;
        conversation_id?: string;
        direction?: "TO_APP";
        id?: string;
        injected?: boolean;
        metadata?: string;
        processing_mode?: string;
        sender_id?: string;
    }
    Index

    Properties

    accept_time?: Date

    Timestamp marking when the channel callback was received by the Conversation API.

    channel_identity?: ChannelIdentity

    ChannelIdentity

    contact_id?: string

    The ID of the contact. Will be empty if processing_mode is DISPATCH.

    contact_message?: ContactMessage

    ContactMessage

    conversation_id?: string

    The ID of the conversation this message is part of. Will be empty if processing_mode is DISPATCH.

    direction?: "TO_APP"

    The direction of the message, it's always TO_APP for contact messages.

    id?: string

    The message ID.

    injected?: boolean

    Flag for whether this message was injected.

    metadata?: string

    Usually, metadata specific to the underlying channel is provided in this field. Refer to the individual channels' documentation for more information (for example, SMS delivery receipts). Note that, for Choice message responses, this field is populated with the value of the message_metadata field of the corresponding Send message request.

    processing_mode?: string

    Whether or not Conversation API should store contacts and conversations for the app. For more information, see Processing Modes.

    sender_id?: string

    The sender ID to which the contact sent the message, if applicable. For example, originator msisdn/short code for SMS and MMS.