Actions116
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Add Participants
- Remove Participants
- Promote To Admin
- Demote To Admin
- Create Group
- Get Groups
- Join Info Group
- Join Group
- Refresh Groups
- Get Group
- Delete Group
- Leave Group
- Get Chat Picture
- Set Picture
- Delete Picture
- Set Description
- Set Subject
- Set Info Admin Only
- 🖥️ Sessions Actions
- 🆔 Profile Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
- 🔑 Auth Actions
Overview
This node sends a text message in a chat session. It is useful for automating chat interactions, such as sending notifications, replies, or updates to users in a chat application. For example, it can be used to send a greeting message, reply to a specific message, or include a link preview in the chat.
Use Case Examples
- Sending a welcome message to a user when they start a chat session.
- Replying to a user's question in a chat by referencing the original message.
- Sending a text update with a link preview to a chat group.
Properties
| Name | Meaning |
|---|---|
| Session | The chat session identifier to send the message within. |
| Chat Id | The identifier of the chat or user to whom the text message will be sent. |
| Reply To | The ID of the message to reply to, allowing the new message to be linked as a response. |
| Text | The text content of the message to be sent. |
| Link Preview | Whether to include a preview of any links contained in the text message. |
| Request Options | Additional options for the request such as batching, SSL certificate validation, proxy settings, and timeout configuration. |
Output
JSON
messageId- The unique identifier of the sent message.status- The status of the message sending operation (e.g., success or failure).chatId- The chat identifier where the message was sent.
Dependencies
- Requires an API key credential or authentication token to connect to the chat service.
Troubleshooting
- Ensure the session and chatId are correctly specified; missing or incorrect values will cause message sending to fail.
- If replying to a message, verify the reply_to ID is valid and exists in the chat.
- Check network connectivity and proxy settings if requests time out or fail.
- If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.