pub struct UserFull {Show 56 fields
pub blocked: bool,
pub phone_calls_available: bool,
pub phone_calls_private: bool,
pub can_pin_message: bool,
pub has_scheduled: bool,
pub video_calls_available: bool,
pub voice_messages_forbidden: bool,
pub translations_disabled: bool,
pub stories_pinned_available: bool,
pub blocked_my_stories_from: bool,
pub wallpaper_overridden: bool,
pub contact_require_premium: bool,
pub read_dates_private: bool,
pub sponsored_enabled: bool,
pub can_view_revenue: bool,
pub bot_can_manage_emoji_status: bool,
pub display_gifts_button: bool,
pub noforwards_my_enabled: bool,
pub noforwards_peer_enabled: bool,
pub id: i64,
pub about: Option<String>,
pub settings: PeerSettings,
pub personal_photo: Option<Photo>,
pub profile_photo: Option<Photo>,
pub fallback_photo: Option<Photo>,
pub notify_settings: PeerNotifySettings,
pub bot_info: Option<BotInfo>,
pub pinned_msg_id: Option<i32>,
pub common_chats_count: i32,
pub folder_id: Option<i32>,
pub ttl_period: Option<i32>,
pub theme: Option<ChatTheme>,
pub private_forward_name: Option<String>,
pub bot_group_admin_rights: Option<ChatAdminRights>,
pub bot_broadcast_admin_rights: Option<ChatAdminRights>,
pub wallpaper: Option<WallPaper>,
pub stories: Option<PeerStories>,
pub business_work_hours: Option<BusinessWorkHours>,
pub business_location: Option<BusinessLocation>,
pub business_greeting_message: Option<BusinessGreetingMessage>,
pub business_away_message: Option<BusinessAwayMessage>,
pub business_intro: Option<BusinessIntro>,
pub birthday: Option<Birthday>,
pub personal_channel_id: Option<i64>,
pub personal_channel_message: Option<i32>,
pub stargifts_count: Option<i32>,
pub starref_program: Option<StarRefProgram>,
pub bot_verification: Option<BotVerification>,
pub send_paid_messages_stars: Option<i64>,
pub disallowed_gifts: Option<DisallowedGiftsSettings>,
pub stars_rating: Option<StarsRating>,
pub stars_my_pending_rating: Option<StarsRating>,
pub stars_my_pending_rating_date: Option<i32>,
pub main_tab: Option<ProfileTab>,
pub saved_music: Option<Document>,
pub note: Option<TextWithEntities>,
}Expand description
Generated from:
userFull#a02bc13e flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true can_view_revenue:flags2.9?true bot_can_manage_emoji_status:flags2.10?true display_gifts_button:flags2.16?true noforwards_my_enabled:flags2.23?true noforwards_peer_enabled:flags2.24?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme:flags.15?ChatTheme private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int starref_program:flags2.11?StarRefProgram bot_verification:flags2.12?BotVerification send_paid_messages_stars:flags2.14?long disallowed_gifts:flags2.15?DisallowedGiftsSettings stars_rating:flags2.17?StarsRating stars_my_pending_rating:flags2.18?StarsRating stars_my_pending_rating_date:flags2.18?int main_tab:flags2.20?ProfileTab saved_music:flags2.21?Document note:flags2.22?TextWithEntities = UserFullFields§
§blocked: bool§phone_calls_available: bool§phone_calls_private: bool§can_pin_message: bool§has_scheduled: bool§video_calls_available: bool§voice_messages_forbidden: bool§translations_disabled: bool§stories_pinned_available: bool§blocked_my_stories_from: bool§wallpaper_overridden: bool§read_dates_private: bool§sponsored_enabled: bool§can_view_revenue: bool§bot_can_manage_emoji_status: bool§noforwards_my_enabled: bool§noforwards_peer_enabled: bool§id: i64§about: Option<String>§settings: PeerSettings§personal_photo: Option<Photo>§profile_photo: Option<Photo>§fallback_photo: Option<Photo>§notify_settings: PeerNotifySettings§bot_info: Option<BotInfo>§pinned_msg_id: Option<i32>§common_chats_count: i32§folder_id: Option<i32>§ttl_period: Option<i32>§theme: Option<ChatTheme>§private_forward_name: Option<String>§bot_group_admin_rights: Option<ChatAdminRights>§bot_broadcast_admin_rights: Option<ChatAdminRights>§wallpaper: Option<WallPaper>§stories: Option<PeerStories>§business_work_hours: Option<BusinessWorkHours>§business_location: Option<BusinessLocation>§business_greeting_message: Option<BusinessGreetingMessage>§business_away_message: Option<BusinessAwayMessage>§business_intro: Option<BusinessIntro>§birthday: Option<Birthday>§personal_channel_id: Option<i64>§personal_channel_message: Option<i32>§stargifts_count: Option<i32>§starref_program: Option<StarRefProgram>§bot_verification: Option<BotVerification>§send_paid_messages_stars: Option<i64>§disallowed_gifts: Option<DisallowedGiftsSettings>§stars_rating: Option<StarsRating>§stars_my_pending_rating: Option<StarsRating>§stars_my_pending_rating_date: Option<i32>§main_tab: Option<ProfileTab>§saved_music: Option<Document>§note: Option<TextWithEntities>Trait Implementations§
Source§impl Deserializable for UserFull
impl Deserializable for UserFull
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl Identifiable for UserFull
impl Identifiable for UserFull
Source§const CONSTRUCTOR_ID: u32 = 0xa02bc13e
const CONSTRUCTOR_ID: u32 = 0xa02bc13e
The constructor ID as specified in the TL schema.
Source§impl Serializable for UserFull
impl Serializable for UserFull
impl StructuralPartialEq for UserFull
Auto Trait Implementations§
impl Freeze for UserFull
impl RefUnwindSafe for UserFull
impl Send for UserFull
impl Sync for UserFull
impl Unpin for UserFull
impl UnsafeUnpin for UserFull
impl UnwindSafe for UserFull
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