Enum telegram_bot_raw_ars::types::chat::Chat
source · pub enum Chat {
Private(User),
Group(Group),
Supergroup(Supergroup),
Channel(Channel),
// some variants omitted
}
Expand description
This object represents a chat.
Variants§
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Chat
impl<'de> Deserialize<'de> for Chat
source§fn deserialize<D>(deserializer: D) -> Result<Chat, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Chat, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Chat
impl Ord for Chat
source§impl PartialEq<Chat> for Chat
impl PartialEq<Chat> for Chat
source§impl PartialOrd<Chat> for Chat
impl PartialOrd<Chat> for Chat
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