Send messages

更新时间:
复制 MD 格式

Send template-based messages to Telegram users, groups, and channels from the Chat App console.

Prerequisites

  • You have created a Telegram template. For instructions, see Template design.

  • The end user has sent a message to the bot.

    • When an end user sends their first message to the bot, Telegram generates a unique Chat ID. Your bot can then use this Chat ID to send messages to that user at any time.

  • Add your bot to the group or channel and grant it the required permissions.

Procedure

  1. Log on to the Chat App Message Service console.

  2. In the left navigation pane, click Channel Management.

  3. Click the Channel ID of the target Telegram channel. The Message Sending page opens.

  4. Configure the sending parameters on the right side of the page as described in the following table.

    Parameter

    Description

    Language

    Select a language to filter the list of available templates.

    Send Message

    Click Select template and choose a message template from the list.

    Send Account

    Select a connected Telegram bot.

    Send Type

    Select a sending method:

    • Scheduled sending: Sends the message at a specified time.

    • Send now: Sends the message immediately.

    Import Method

    Choose how to provide the recipient Chat IDs.

    Note

    Telegram requires Chat IDs to send messages to end users. Phone numbers are not supported.

    1. Upload Excel File: Suitable for bulk messaging. Upload an Excel file that contains the recipient Chat IDs.

      1. Click Download Template and enter the recipient Chat IDs in the Phone column.

      2. Click Upload File to upload the completed file.

      3. Note
        1. The Download Template button is disabled until you select a message template.

        2. If your message template contains variables, you must use the Upload Excel File method to import recipient Chat IDs. Do not modify the column headers in the template file. Otherwise, the system might not recognize the variables.

    2. Import Phone Number Group: Suitable for sending a small number of messages. Select this option, then click Add Phone Number to enter recipient Chat IDs manually.

    3. Select Group/Channel: Suitable for messaging groups or channels. You must first identify the target group or channel in group/channel management.

  5. After you configure the settings, click Send.

    After the message is sent, you can view its details on the Message List page. For more information, see Message records.

Limitations

Limitations

Description

Share phone number templates

Can only be sent to individual users. Bulk sending is not supported.

Channel message limits

Channels do not support messages that contain Mini App or postback buttons. Such messages will fail to send.