replySticker method

Future<Message> replySticker(
  1. dynamic sticker, {
  2. bool withQuote = false,
  3. bool? disableNotification,
  4. bool? allowSendingWithoutReply,
  5. 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);