From a4d6673a916a05454ddf5f180459bfe8ee40c2ee Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Fri, 27 Mar 2020 18:52:05 +0600 Subject: [PATCH] Remove a useless generic in answer_sticker Fixed https://github.com/teloxide/teloxide/issues/196. --- src/dispatching/dispatcher_handler_cx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatching/dispatcher_handler_cx.rs b/src/dispatching/dispatcher_handler_cx.rs index 082f0d20..3431892f 100644 --- a/src/dispatching/dispatcher_handler_cx.rs +++ b/src/dispatching/dispatcher_handler_cx.rs @@ -124,7 +124,7 @@ impl DispatcherHandlerCx { self.bot.send_contact(self.chat_id(), phone_number, first_name) } - pub fn answer_sticker(&self, sticker: InputFile) -> SendSticker { + pub fn answer_sticker(&self, sticker: InputFile) -> SendSticker { self.bot.send_sticker(self.update.chat.id, sticker) }