Actions101
- 🖥️ Sessions Actions
- 🔑 Auth Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
📤 Chatting → Send Text
AI-generatedOverview
This node operation sends a text message in a chat session. It is useful for automating chat communications, such as sending notifications, alerts, or conversational messages in messaging platforms. For example, it can be used to send a greeting message to a user or reply to a specific message in a chat.
Use Case Examples
- Sending a welcome message to a new user in a chat session.
- Replying to a user's query with a text message automatically.
Properties
| Name | Meaning |
|---|---|
| Session | The chat session identifier to send the message in. |
| Chat Id | The identifier of the chat where the message will be sent. |
| Reply To | The ID of the message to reply to, allowing the new message to be linked as a reply. |
| Text | The text content of the message to be sent. |
| Link Preview | Whether to enable or disable link preview in the message. |
| Request Options | Additional options for the request such as batching, SSL handling, proxy, and timeout settings. |
Output
JSON
messageId- The ID of the sent message.status- The status of the message sending operation.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 valid and active to avoid message sending failures.
- If the message fails to send, check network connectivity and proxy settings if used.
- Timeout errors may occur if the server is slow or unresponsive; adjust the timeout setting accordingly.
- SSL certificate errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this is insecure and should be used cautiously.