How to send messages via the calculator
line_send_message(platform_id, text, buttons, attachments, quote_token, bot_group_id)
The function helps you send messages to the specified chat.
An array of buttons in the message
Параметр buttons формируется также как кнопки в блоке воронки. Чтобы упростить формирование массива, можно в блоке воронки создать кнопки с помощью интерфейса и скопировать сформированные данные.
Step 1. Create buttons in the block.

Step 2. Copy the Advanced button settings.

Example of a buttons array:
[{"line":0,"index_in_line":0,"text":"Visit site","type":"inline","url":"https://google.com","callback_link":false}]
An array of attachments
The attachments parameter is an array of dictionaries that define the attachments to be sent.
Each attachment in the array must include the attachment type (attachment_type) and its URL (attachment_url).
Пример:
attach_list = [{"attachment_type": "image", "attachment_url": "https://files.site.com/my_image.jpg"}]
Possible values for attachment_type:
- image
- video
- audio