Skip to main content

ChannelFull

Struct ChannelFull 

Source
pub struct ChannelFull {
Show 66 fields pub can_view_participants: bool, pub can_set_username: bool, pub can_set_stickers: bool, pub hidden_prehistory: bool, pub can_set_location: bool, pub has_scheduled: bool, pub can_view_stats: bool, pub blocked: bool, pub can_delete_channel: bool, pub antispam: bool, pub participants_hidden: bool, pub translations_disabled: bool, pub stories_pinned_available: bool, pub view_forum_as_messages: bool, pub restricted_sponsored: bool, pub can_view_revenue: bool, pub paid_media_allowed: bool, pub can_view_stars_revenue: bool, pub paid_reactions_available: bool, pub stargifts_available: bool, pub paid_messages_available: bool, pub id: i64, 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: Option<ExportedChatInvite>, pub bot_info: Vec<BotInfo>, pub migrated_from_chat_id: Option<i64>, 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<i64>, pub location: Option<ChannelLocation>, pub slowmode_seconds: Option<i32>, pub slowmode_next_send_date: Option<i32>, pub stats_dc: Option<i32>, pub pts: i32, pub call: Option<InputGroupCall>, pub ttl_period: Option<i32>, pub pending_suggestions: Option<Vec<String>>, pub groupcall_default_join_as: Option<Peer>, pub theme_emoticon: Option<String>, pub requests_pending: Option<i32>, pub recent_requesters: Option<Vec<i64>>, pub default_send_as: Option<Peer>, pub available_reactions: Option<ChatReactions>, pub reactions_limit: Option<i32>, pub stories: Option<PeerStories>, pub wallpaper: Option<WallPaper>, pub boosts_applied: Option<i32>, pub boosts_unrestrict: Option<i32>, pub emojiset: Option<StickerSet>, pub bot_verification: Option<BotVerification>, pub stargifts_count: Option<i32>, pub send_paid_messages_stars: Option<i64>, pub main_tab: Option<ProfileTab>,
}
Expand description

channelFull

Generated from:

channelFull#e4e0b29d flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true view_forum_as_messages:flags2.6?true restricted_sponsored:flags2.11?true can_view_revenue:flags2.12?true paid_media_allowed:flags2.14?true can_view_stars_revenue:flags2.15?true paid_reactions_available:flags2.16?true stargifts_available:flags2.19?true paid_messages_available:flags2.20?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions reactions_limit:flags2.13?int stories:flags2.4?PeerStories wallpaper:flags2.7?WallPaper boosts_applied:flags2.8?int boosts_unrestrict:flags2.9?int emojiset:flags2.10?StickerSet bot_verification:flags2.17?BotVerification stargifts_count:flags2.18?int send_paid_messages_stars:flags2.21?long main_tab:flags2.22?ProfileTab = ChatFull

Fields§

§can_view_participants: bool§can_set_username: bool§can_set_stickers: bool§hidden_prehistory: bool§can_set_location: bool§has_scheduled: bool§can_view_stats: bool§blocked: bool§can_delete_channel: bool§antispam: bool§participants_hidden: bool§translations_disabled: bool§stories_pinned_available: bool§view_forum_as_messages: bool§restricted_sponsored: bool§can_view_revenue: bool§paid_media_allowed: bool§can_view_stars_revenue: bool§paid_reactions_available: bool§stargifts_available: bool§paid_messages_available: bool§id: i64§about: String§participants_count: Option<i32>§admins_count: Option<i32>§kicked_count: Option<i32>§banned_count: Option<i32>§online_count: Option<i32>§read_inbox_max_id: i32§read_outbox_max_id: i32§unread_count: i32§chat_photo: Photo§notify_settings: PeerNotifySettings§exported_invite: Option<ExportedChatInvite>§bot_info: Vec<BotInfo>§migrated_from_chat_id: Option<i64>§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<i64>§location: Option<ChannelLocation>§slowmode_seconds: Option<i32>§slowmode_next_send_date: Option<i32>§stats_dc: Option<i32>§pts: i32§call: Option<InputGroupCall>§ttl_period: Option<i32>§pending_suggestions: Option<Vec<String>>§groupcall_default_join_as: Option<Peer>§theme_emoticon: Option<String>§requests_pending: Option<i32>§recent_requesters: Option<Vec<i64>>§default_send_as: Option<Peer>§available_reactions: Option<ChatReactions>§reactions_limit: Option<i32>§stories: Option<PeerStories>§wallpaper: Option<WallPaper>§boosts_applied: Option<i32>§boosts_unrestrict: Option<i32>§emojiset: Option<StickerSet>§bot_verification: Option<BotVerification>§stargifts_count: Option<i32>§send_paid_messages_stars: Option<i64>§main_tab: Option<ProfileTab>

Trait Implementations§

Source§

impl Clone for ChannelFull

Source§

fn clone(&self) -> ChannelFull

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ChannelFull

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deserializable for ChannelFull

Source§

fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>

Read Self from buf, advancing its position.
Source§

fn from_bytes(bytes: &[u8]) -> Result<Self>

Convenience: deserialize from a byte slice.
Source§

impl From<ChannelFull> for ChatFull

Source§

fn from(x: ChannelFull) -> Self

Converts to this type from the input type.
Source§

impl Identifiable for ChannelFull

Source§

const CONSTRUCTOR_ID: u32 = 0xe4e0b29d

The constructor ID as specified in the TL schema.
Source§

impl PartialEq for ChannelFull

Source§

fn eq(&self, other: &ChannelFull) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serializable for ChannelFull

Source§

fn serialize(&self, buf: &mut impl Extend<u8>)

Appends the serialized form of self to buf.
Source§

fn to_bytes(&self) -> Vec<u8>

Convenience: allocate a fresh Vec<u8> and serialize into it.
Source§

impl TryFrom<ChatFull> for ChannelFull

Source§

type Error = ChatFull

The type returned in the event of a conversion error.
Source§

fn try_from(v: ChatFull) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl StructuralPartialEq for ChannelFull

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.