Class SendDice
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SendDice,Message>
io.github.natanimn.telebof.requests.send.SendDice
SendPoll class. Returns
Message
on success.- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbusinessConnectionId
(String business_connection_id) OptionaldisableNotification
(boolean disable_notification) OptionalOptionalmessageEffectId
(String message_effect_id) OptionalprotectContent
(boolean protect_content) OptionalreplyMarkup
(Markup reply_markup) OptionalreplyParameters
(ReplyParameters reply_parameters) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
SendDice
-
-
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
-
disableNotification
-
protectContent
-
replyParameters
Optional- Parameters:
reply_parameters
- Description of the message to reply to- Returns:
SendDice
-
replyMarkup
-
businessConnectionId
-
messageEffectId
-