Struct telegram_bot_ars::types::Group
source · pub struct Group {
pub id: GroupId,
pub title: String,
pub all_members_are_administrators: bool,
pub invite_link: Option<String>,
}Expand description
This object represents a group.
Fields§
§id: GroupIdUnique identifier for this chat.
title: StringTitle, for supergroups, channels and group chats.
all_members_are_administrators: boolTrue if a group has ‘All Members Are Admins’ enabled.
invite_link: Option<String>Invite link for this group, specific to this bot. You can generate a new invite link by using the export_invite_link method.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Group
impl<'de> Deserialize<'de> for Group
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Group, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Group, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Group
impl Ord for Group
source§impl PartialOrd<Group> for Group
impl PartialOrd<Group> for Group
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