[][src]Struct telegram_bot::types::Group

pub struct Group {
    pub id: GroupId,
    pub title: String,
    pub all_members_are_administrators: bool,
    pub invite_link: Option<String>,
}

This object represents a group.

Fields

id: GroupId

Unique identifier for this chat.

title: String

Title, for supergroups, channels and group chats.

all_members_are_administrators: bool

True 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

impl Clone for Group[src]

impl Debug for Group[src]

impl<'de> Deserialize<'de> for Group[src]

impl Eq for Group[src]

impl Hash for Group[src]

impl Ord for Group[src]

impl PartialEq<Group> for Group[src]

impl PartialOrd<Group> for Group[src]

impl StructuralEq for Group[src]

impl StructuralPartialEq for Group[src]

impl ToChatRef for Group[src]

Auto Trait Implementations

impl RefUnwindSafe for Group[src]

impl Send for Group[src]

impl Sync for Group[src]

impl Unpin for Group[src]

impl UnwindSafe for Group[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<C> CanGetChat for C where
    C: ToChatRef
[src]

impl<C> CanGetChatAdministrators for C where
    C: ToChatRef
[src]

impl<C> CanGetChatMemberForChat for C where
    C: ToChatRef
[src]

impl<C> CanGetChatMembersCount for C where
    C: ToChatRef
[src]

impl<C> CanKickChatMemberForChat for C where
    C: ToChatRef
[src]

impl<C> CanLeaveChat for C where
    C: ToChatRef
[src]

impl<M> CanSendAudio for M where
    M: ToChatRef
[src]

impl<C> CanSendChatAction for C where
    C: ToChatRef
[src]

impl<'p, 'f, 'l, C> CanSendContact<'p, 'f, 'l> for C where
    C: ToChatRef
[src]

impl<M> CanSendDocument for M where
    M: ToChatRef
[src]

impl<C> CanSendLocation for C where
    C: ToChatRef
[src]

impl<C> CanSendMessage for C where
    C: ToChatRef
[src]

impl<M> CanSendPhoto for M where
    M: ToChatRef
[src]

impl<C> CanSendPoll for C where
    C: ToChatRef
[src]

impl<'t, 'a, 'f, C> CanSendVenue<'t, 'a, 'f> for C where
    C: ToChatRef
[src]

impl<M> CanSendVideo for M where
    M: ToChatRef
[src]

impl<C> CanUnbanChatMemberForChat for C where
    C: ToChatRef
[src]

impl<C> CanUnpinMessage for C where
    C: ToChatRef
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]