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
- Version:
- 1.3.0
- Author:
- Natanim
- See Also:
-
Field Summary
Fields inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
api, methodName, parameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisableWebPagePreview(boolean disableWebPagePreview) Deprecated, for removal: This API element is subject to removal in a future version.OptionalMethods inherited from class io.github.natanimn.telebof.requests.send.SendBuilder
allowPaidBroadcast, businessConnectionId, directMessagesTopicId, disableNotification, messageEffectId, messageThreadId, parseMode, protectContent, replyMarkup, replyParameters, suggestedPostParametersMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
add, exec, getContentType, getMethodName, getParameters, getResponseType, hasMultipart, setHasMultipart
-
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
-
disableWebPagePreview
Deprecated, for removal: This API element is subject to removal in a future version.Not Implemented- Overrides:
disableWebPagePreviewin classSendBuilder<SendDice,Message>
-