pub struct SendChatAction { /* private fields */ }
Expand description
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).
Implementations§
source§impl SendChatAction
impl SendChatAction
pub fn new<C>(chat: C, action: ChatAction) -> Selfwhere
C: ToChatRef,
Trait Implementations§
source§impl Clone for SendChatAction
impl Clone for SendChatAction
source§fn clone(&self) -> SendChatAction
fn clone(&self) -> SendChatAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SendChatAction
impl Debug for SendChatAction
source§impl PartialEq<SendChatAction> for SendChatAction
impl PartialEq<SendChatAction> for SendChatAction
source§fn eq(&self, other: &SendChatAction) -> bool
fn eq(&self, other: &SendChatAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SendChatAction> for SendChatAction
impl PartialOrd<SendChatAction> for SendChatAction
source§fn partial_cmp(&self, other: &SendChatAction) -> Option<Ordering>
fn partial_cmp(&self, other: &SendChatAction) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more