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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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 for Group
impl PartialOrd for Group
impl Eq for Group
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more