Azure Connectors Node.js SDK
    Preparing search index...

    Interface SendMessageByPhoneNumberInput

    Send a message to the contact with the given phone number

    interface SendMessageByPhoneNumberInput {
        body?: string;
        location_callback?: string;
        mms_media?: string[];
        sender_name?: string;
        status_callback?: string;
    }
    Index
    body?: string

    Content of the message to send.

    location_callback?: string

    Location callback url to hit with a POST command when the user accesses and approves sharing their location with the sender. To include the link, add [Location Request] to the message body. This callback is not required for location requests, but it can be useful for APIs.

    mms_media?: string[]

    Array of MMS Media attachments for this message. Attachments must be urls gotten from the post /mms endpoint (not included in this connector). External attachment links will not be accepted.

    sender_name?: string

    The name of the message sender. This is shown in the TextRequest web app and api when retrieving this message.

    status_callback?: string

    Url for the web app to hit with a POST command whenever this message's status goes from undelivered to sent (or error).