mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-23 06:51:01 +01:00
Remove a useless generic in answer_sticker
Fixed https://github.com/teloxide/teloxide/issues/196.
This commit is contained in:
parent
73aa67c147
commit
a4d6673a91
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ impl DispatcherHandlerCx<Message> {
|
||||||
self.bot.send_contact(self.chat_id(), phone_number, first_name)
|
self.bot.send_contact(self.chat_id(), phone_number, first_name)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn answer_sticker<T>(&self, sticker: InputFile) -> SendSticker {
|
pub fn answer_sticker(&self, sticker: InputFile) -> SendSticker {
|
||||||
self.bot.send_sticker(self.update.chat.id, sticker)
|
self.bot.send_sticker(self.update.chat.id, sticker)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue