mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-08 19:33:53 +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
|
where
|
||||||
T: Into<String>,
|
T: Into<String>,
|
||||||
{
|
{
|
||||||
self.file_id = message_id.into();
|
self.file_id = file_id.into();
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
use crate::core::network;
|
use crate::core::network;
|
||||||
use crate::core::requests::{ChatId, Request, RequestContext, RequestFuture, ResponseResult};
|
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.
|
///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).
|
///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