From de3bf900d896545b76518eeff6ee6ccb512bae41 Mon Sep 17 00:00:00 2001 From: nextel Date: Mon, 16 Sep 2019 12:45:27 +0300 Subject: [PATCH] fix return type --- src/core/requests/send_chat_action.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/requests/send_chat_action.rs b/src/core/requests/send_chat_action.rs index 4420c04f..f8a1142c 100644 --- a/src/core/requests/send_chat_action.rs +++ b/src/core/requests/send_chat_action.rs @@ -36,7 +36,7 @@ enum ChatAction { } impl<'a> Request<'a> for SendChatAction<'a> { - type ReturnValue = Message; + type ReturnValue = bool; fn send(self) -> RequestFuture<'a, ResponseResult> { Box::pin(async move {