replySticker method
Future<Message>
replySticker(
- dynamic sticker, {
- bool withQuote = false,
- bool? disableNotification,
- bool? allowSendingWithoutReply,
- ReplyMarkup? replyMarkup,
Reply to the recieved message with an image
A wrapper around TeleDart.sendSticker. On success, returns the sent Message.
Apart from a sticker
to reply with, it can
also take some options that control the message
appearance and behavior.
Check Telegram API documentation for more information about those options.
Implementation
Future<Message> replySticker(
dynamic sticker, {
bool withQuote = false,
bool? disableNotification,
bool? allowSendingWithoutReply,
ReplyMarkup? replyMarkup,
}) =>
_teledart.sendSticker(chat.id, sticker,
messageThreadId: messageThreadId,
disableNotification: disableNotification,
replyToMessageId: withQuote ? messageId : null,
allowSendingWithoutReply: allowSendingWithoutReply,
replyMarkup: replyMarkup);