This commit is contained in:
nextel 2019-09-15 18:31:02 +03:00
parent 823f0f4877
commit 2b8bbf98b3

View file

@ -2,6 +2,9 @@ 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 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).
///Returns True on success.
#[derive(Debug, Clone, Serialize)] #[derive(Debug, Clone, Serialize)]
struct SendChatAction<'a> { struct SendChatAction<'a> {
#[serde(skip_serializing)] #[serde(skip_serializing)]