Actions17
- Instance Actions
- Message Actions
- Chat Actions
- Event Actions
Message → Send Text
AI-generatedSummary
Send a text message to a specified chat using the RelayStack Telegram API Gateway.
Inputs
- instanceId (required) — UUID of the connected RelayStack instance.
- chatId (required) — Target chat: numeric ID (e.g., 123456), @username, or phone number in international format (e.g., +1234567890).
- text (required) — Message text to send.
Output shape
object
Returns the JSON response from the RelayStack
/instances/{instanceId}/send-messageendpoint.
Examples
Example 1: Send a simple greeting to a group chat.
Set instanceId to the UUID of your connected RelayStack instance, chatId to -1001234567890 (numeric group ID) or @mygroup, and text to Hello world!.