Actions43
- Chat Actions
- Add Chat Members
- Close Chat
- Close Chat (Lite)
- Create SuperGroup or Channel
- Delete Chat
- Get Chat
- Get Chat History
- Get Chats
- Join Chat
- Mark Chat as Unread
- Open Chat
- Open Chat (Lite)
- Search Public Chat (by Username, Lite)
- Search Public Chat (by Username)
- Search Public Chats (Search in Username, Title)
- Send Chat Action
- Contact Actions
- Custom Request Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Message → Send Text Message
AI-generatedSummary
Send a text message to a specified Telegram chat.
Inputs
- Chat ID (required) — The ID of the chat where the message will be sent.
- Message Text (required) — The text content of the message to send.
- Reply to messageId — The ID of the message to reply to (optional).
- Reply to threadID — The message thread identifier to send the message in (optional, if not 0).
Output shape
object
Returns the sent message object from the Telegram API, containing details such as message ID, chat ID, and send date.
Examples
Example 1: Send a simple text message to a chat
Chat ID: '123456789', Message Text: 'Hello, world!'
Example 2: Reply to a specific message in a chat
Chat ID: '123456789', Message Text: 'This is a reply', Reply to messageId: '42'