Sinch Node.js SDK - v0.0.2
    Preparing search index...

    Interface SendEventRequest

    interface SendEventRequest {
        app_id: string;
        callback_url?: string;
        channel_priority_order?: ConversationChannel[];
        event: AppEvent;
        event_metadata?: string;
        queue?: MessageQueue;
        recipient: Recipient;
    }
    Index

    Properties

    app_id: string

    The ID of the app sending the event.

    callback_url?: string

    Overwrites the default callback url for delivery receipts for this message The REST URL should be of the form: http://host[:port]/path

    channel_priority_order?: ConversationChannel[]

    Optional. A single element array that dictates on what channel should the Conversation API try to send the event. It overrides any default set on the contact. Providing more than one option has no effect.

    event: AppEvent

    AppEvent

    event_metadata?: string

    Optional. Eventual metadata that should be associated to the event.

    queue?: MessageQueue

    MessageQueue

    recipient: Recipient

    Recipient