Actions17
Send Dice
AI-generatedSummary
Sends a random dice roll to a Telegram chat with optional reply and markup support.
Inputs
- botToken (required) — Bot token from input (e.g. from Orchestrator/Strapi).
- chatId (required) — Target Telegram chat ID.
- replyToMessageId — Telegram message_id to reply to (defaults to 0).
- replyMarkup — Inline keyboard or reply markup (JSON).
- diceEmoji — Dice type: Dice (🎲), Darts (🎯), Basketball (🏀), Football (⚽), Bowling (🎳), or Slot (🎰). Defaults to Dice.
- useRateLimit — Enable Redis rate limiting to avoid 429 errors (requires Redis credential).
Output shape
A list of items containing the full Telegram message response object for each item sent.
Returns to the first output on success. Returns to the 'User Blocked (403)' output if the user blocks the bot. Returns to the 'Error' output for other API errors (if configured).
Examples
Example 1: Send a standard dice roll to a chat.
Set Operation to 'Send Dice', provide Chat ID and Bot Token.
Example 2: Send a bowling ball roll with a custom reply markup.
Set Emoji to '🎳', include a JSON reply_markup object, and specify Chat ID.