Messages

Send message

POST https://app.hightouch.ai/api/bot/messages/send_message/

This endpoint allows you to get free cakes.

Request Body

NameTypeDescription

bot_user_id

integer

The ID of the recipient bot_user object.

chat_id

integer

The recipient's chat ID.

content_type

string

Message type, for example: text.

payload

object

Object payload

inline_buttons

array

Button list

inline_buttons_cols

integer

Number of button columns.

application

string

The sender's application, for example: amocrm.

# при успехе
{
    'status': 'ok',
    'result': true
}
# при ошибке
{
    "status": "error",
    "errors": {
        "common": "error description"
    }
}

Object payload

Параметр

Тип

Описание

text

string

test message

image_url

string

URL of the image to be sent

file_url

string

URL of the file to be sent

video_url

string

URL of the video to be sent

Last updated