Class SendDice
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SendDice,Message>
io.github.natanimn.telebof.requests.send.SendBuilder<SendDice,Message>
io.github.natanimn.telebof.requests.send.SendDice
SendDice class. Returns
Message on success.- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.natanimn.telebof.requests.send.SendBuilder
allowPaidBroadcast, businessConnectionId, directMessagesTopicId, disableNotification, disableWebPagePreview, messageEffectId, messageThreadId, parseMode, protectContent, replyMarkup, replyParameters, suggestedPostParametersMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
SendDice
Required- Parameters:
chatId- chat idapi- api
-
-
Method Details
-
emoji
Optional- Parameters:
emoji- Emoji on which the dice throw animation is based. Currently, must be one of “🎲”, “🎯”, “🏀”, “⚽”, “🎳”, or “🎰”. Dice can have values 1-6 for “🎲”, “🎯” and “🎳”, values 1-5 for “🏀” and “⚽”, and values 1-64 for “🎰”. Defaults to “🎲”- Returns:
SendDice
-