Actions26
- Channel Actions
- Message Actions
- Reaction Actions
- Scheduled Message Actions
- User Actions
Message → Reply
AI-generatedSummary
The server initializes an epoll instance and adds all incoming client sockets to the epoll instance. For each client connection, it spawns a new thread to handle the request. The server listens on a port and waits for client connections. When a client connects, it spawns a thread to handle the message. The handler checks if the operation is 'reply' and prints the reply message and the associated message ID.
Inputs
- channelIdentType (required) — The type of channel identifier to use (either Channel ID or Channel Name).
- channelId (required) — The unique ID of the channel to send the message to or reply to.
- channelName — The name of the channel to send the message to or reply to.
- text (required) — The content of the message to send or reply to.
- asBot — Whether to post the message as a bot
Output shape
json
The server sends a reply message to the specified channel. The reply includes the message ID of the original message and the response from the server.
Examples
Example 1: A user wants to reply to a specific message in a channel.
The workflow author sets the Channel Identifier Type to 'Channel ID' and provides the Channel ID and the Message ID of the message they want to reply to. They also provide the text for the reply and optionally set 'Send As Bot' to true if they want the message to be posted as a bot.