sendSticker method
Future<Message>
sendSticker(
- ChatID chatId,
- HttpFile sticker, {
- bool? disableNotification,
- int? replyToMessageId,
- bool? allowSendingWithoutReply,
- ReplyMarkup? replyMarkup,
inherited
Implementation
Future<Message> sendSticker(
ChatID chatId,
HttpFile sticker, {
bool? disableNotification,
int? replyToMessageId,
bool? allowSendingWithoutReply,
ReplyMarkup? replyMarkup,
}) {
return _client.apiCall(_token, 'sendSticker', {
'chat_id': chatId,
'sticker': sticker,
'disable_notification': disableNotification,
'reply_to_message_id': replyToMessageId,
'allow_sending_without_reply': allowSendingWithoutReply,
'reply_markup': replyMarkup
});
}