mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
add docs
This commit is contained in:
parent
823f0f4877
commit
2b8bbf98b3
1 changed files with 3 additions and 0 deletions
|
@ -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)]
|
||||||
|
|
Loading…
Reference in a new issue