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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbusinessConnectionId(String business_connection_id) OptionaldirectMessagesTopicId(int direct_messages_topic_id) OptionaldisableNotification(boolean disable_notification) OptionalOptionalmessageEffectId(String message_effect_id) OptionalprotectContent(boolean protect_content) OptionalreplyMarkup(Markup reply_markup) OptionalreplyParameters(ReplyParameters reply_parameters) OptionalsuggestedPostParameters(SuggestedPostParameters suggested_post_parameters) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequestexec
- 
Constructor Details- 
SendDice
 
- 
- 
Method Details- 
emojiOptional- 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
- 
replyParametersOptional- Parameters:
- reply_parameters- Description of the message to reply to
- Returns:
- SendDice
 
- 
replyMarkup
- 
businessConnectionId
- 
messageEffectId
- 
directMessagesTopicId
- 
suggestedPostParametersOptional- Parameters:
- suggested_post_parameters- A JSON-serialized object containing the parameters of the suggested post to send; for direct messages chats only. If the message is sent as a reply to another suggested post, then that suggested post is automatically declined.
- Returns:
- SendDice
 
 
-