mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Fix the errors
This commit is contained in:
parent
16b5473dae
commit
4e19627f38
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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).
|
||||
|
|
Loading…
Reference in a new issue