[][src]Struct grammers_tl_types::types::ChannelFull

pub struct ChannelFull {
    pub can_view_participants: bool,
    pub can_set_username: bool,
    pub can_set_stickers: bool,
    pub hidden_prehistory: bool,
    pub can_view_stats: bool,
    pub can_set_location: bool,
    pub has_scheduled: bool,
    pub id: i32,
    pub about: String,
    pub participants_count: Option<i32>,
    pub admins_count: Option<i32>,
    pub kicked_count: Option<i32>,
    pub banned_count: Option<i32>,
    pub online_count: Option<i32>,
    pub read_inbox_max_id: i32,
    pub read_outbox_max_id: i32,
    pub unread_count: i32,
    pub chat_photo: Photo,
    pub notify_settings: PeerNotifySettings,
    pub exported_invite: ExportedChatInvite,
    pub bot_info: Vec<BotInfo>,
    pub migrated_from_chat_id: Option<i32>,
    pub migrated_from_max_id: Option<i32>,
    pub pinned_msg_id: Option<i32>,
    pub stickerset: Option<StickerSet>,
    pub available_min_id: Option<i32>,
    pub folder_id: Option<i32>,
    pub linked_chat_id: Option<i32>,
    pub location: Option<ChannelLocation>,
    pub slowmode_seconds: Option<i32>,
    pub slowmode_next_send_date: Option<i32>,
    pub stats_dc: Option<i32>,
    pub pts: i32,
}

Fields

can_view_participants: boolcan_set_username: boolcan_set_stickers: boolhidden_prehistory: boolcan_view_stats: boolcan_set_location: boolhas_scheduled: boolid: i32about: Stringparticipants_count: Option<i32>admins_count: Option<i32>kicked_count: Option<i32>banned_count: Option<i32>online_count: Option<i32>read_inbox_max_id: i32read_outbox_max_id: i32unread_count: i32chat_photo: Photonotify_settings: PeerNotifySettingsexported_invite: ExportedChatInvitebot_info: Vec<BotInfo>migrated_from_chat_id: Option<i32>migrated_from_max_id: Option<i32>pinned_msg_id: Option<i32>stickerset: Option<StickerSet>available_min_id: Option<i32>folder_id: Option<i32>linked_chat_id: Option<i32>location: Option<ChannelLocation>slowmode_seconds: Option<i32>slowmode_next_send_date: Option<i32>stats_dc: Option<i32>pts: i32

Trait Implementations

impl Clone for ChannelFull[src]

impl Debug for ChannelFull[src]

impl Deserializable for ChannelFull[src]

impl From<ChannelFull> for ChatFull[src]

impl Identifiable for ChannelFull[src]

impl PartialEq<ChannelFull> for ChannelFull[src]

impl Serializable for ChannelFull[src]

impl StructuralPartialEq for ChannelFull[src]

impl TryFrom<ChatFull> for ChannelFull[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

Auto Trait Implementations

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<T> From<T> 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.