Fix the errors

This commit is contained in:
Temirkhan Myrzamadi 2019-09-19 00:03:44 +06:00
parent 16b5473dae
commit 4e19627f38
2 changed files with 1 additions and 2 deletions

View file

@ -40,7 +40,7 @@ impl<'a> GetFile<'a>{
where
T: Into<String>,
{
self.file_id = message_id.into();
self.file_id = file_id.into();
self
}
}

View file

@ -1,6 +1,5 @@
use crate::core::network;
use crate::core::requests::{ChatId, Request, RequestContext, RequestFuture, ResponseResult};
use crate::core::types::Message;
///Use this method when you need to tell the user that something is happening on the bot's side.
///The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status).