replyDice method
Reply to the recieved message with a dice message
A wrapper around TeleDart.replyDice
.
On success, returns the sent Message
.
It can take some options that control the message appearance and behavior.
Check Telegram API documentation for more information about those options.
Implementation
Future<Message> replyDice({
int? messageThreadId,
bool withQuote = false,
String emoji = Dice.emojiDice,
bool? disableNotification,
bool? allowSendingWithoutReply,
ReplyMarkup? replyMarkup,
}) =>
_teledart.sendDice(chat.id,
messageThreadId: messageThreadId ?? this.messageThreadId,
emoji: emoji,
disableNotification: disableNotification,
replyToMessageId: withQuote ? messageId : null,
allowSendingWithoutReply: allowSendingWithoutReply,
replyMarkup: replyMarkup);