mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +01:00
fix return type
This commit is contained in:
parent
60f3c822cf
commit
de3bf900d8
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ enum ChatAction {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Request<'a> for SendChatAction<'a> {
|
impl<'a> Request<'a> for SendChatAction<'a> {
|
||||||
type ReturnValue = Message;
|
type ReturnValue = bool;
|
||||||
|
|
||||||
fn send(self) -> RequestFuture<'a, ResponseResult<Self::ReturnValue>> {
|
fn send(self) -> RequestFuture<'a, ResponseResult<Self::ReturnValue>> {
|
||||||
Box::pin(async move {
|
Box::pin(async move {
|
||||||
|
|
Loading…
Reference in a new issue