UserFull#
- class pyrogram.raw.types.UserFull#
Extended user info
Constructor of
UserFull
.- Details:
Layer:
198
ID:
4D975BBC
- Parameters:
id (
int
64-bit
) – User IDsettings (
PeerSettings
) – Peer settingsnotify_settings (
PeerNotifySettings
) – Notification settingscommon_chats_count (
int
32-bit
) – Chats in common with this userblocked (
bool
, optional) – Whether you have blocked this userphone_calls_available (
bool
, optional) – Whether this user can make VoIP callsphone_calls_private (
bool
, optional) – Whether this user’s privacy settings allow you to call themcan_pin_message (
bool
, optional) – Whether you can pin messages in the chat with this user, you can do this only for a chat with yourselfhas_scheduled (
bool
, optional) – Whether scheduled messages are availablevideo_calls_available (
bool
, optional) – Whether the user can receive video callsvoice_messages_forbidden (
bool
, optional) – Whether this user doesn’t allow sending voice messages in a private chat with themtranslations_disabled (
bool
, optional) – Whether the real-time chat translation popup should be hidden.stories_pinned_available (
bool
, optional) – Whether this user has some pinned stories.blocked_my_stories_from (
bool
, optional) – Whether we’ve blocked this user, preventing them from seeing our stories ».wallpaper_overridden (
bool
, optional) – Whether the other user has chosen a custom wallpaper for us using messages.setChatWallPaper and the for_both flag, see here » for more info.contact_require_premium (
bool
, optional) – If set, we cannot write to this user: subscribe to Telegram Premium to get permission to write to this user. To set this flag for ourselves invoke account.setGlobalPrivacySettings, setting the settings.new_noncontact_peers_require_premium flag, see here » for more info.read_dates_private (
bool
, optional) – If set, we cannot fetch the exact read date of messages we send to this user using messages.getOutboxReadDate. The exact read date of messages might still be unavailable for other reasons, see here » for more info. To set this flag for ourselves invoke account.setGlobalPrivacySettings, setting the settings.hide_read_marks flag.sponsored_enabled (
bool
, optional) – Whether ads were re-enabled for the current account (only accessible to the currently logged-in user), see here » for more info.can_view_revenue (
bool
, optional) – If set, this user can view ad revenue statistics » for this bot.bot_can_manage_emoji_status (
bool
, optional) – If set, this is a bot that can change our emoji status »about (
str
, optional) – Bio of the userpersonal_photo (
Photo
, optional) – Personal profile photo, to be shown instead of profile_photo.profile_photo (
Photo
, optional) – Profile photofallback_photo (
Photo
, optional) – Fallback profile photo, displayed if no photo is present in profile_photo or personal_photo, due to privacy settings.bot_info (
BotInfo
, optional) – For bots, info about the bot (bot commands, etc)pinned_msg_id (
int
32-bit
, optional) – Message ID of the last pinned messagefolder_id (
int
32-bit
, optional) – Peer folder ID, for more info click herettl_period (
int
32-bit
, optional) – Time To Live of all messages in this chat; once a message is this many seconds old, it must be deleted.theme_emoticon (
str
, optional) – Emoji associated with chat themeprivate_forward_name (
str
, optional) – Anonymized text to be shown instead of the user’s name on forwarded messagesbot_group_admin_rights (
ChatAdminRights
, optional) – A suggested set of administrator rights for the bot, to be shown when adding the bot as admin to a group, see here for more info on how to handle them ».bot_broadcast_admin_rights (
ChatAdminRights
, optional) – A suggested set of administrator rights for the bot, to be shown when adding the bot as admin to a channel, see here for more info on how to handle them ».premium_gifts (List of
PremiumGiftOption
, optional) – Telegram Premium subscriptions gift optionswallpaper (
WallPaper
, optional) – Wallpaper to use in the private chat with the user.stories (
PeerStories
, optional) – Active stories »business_work_hours (
BusinessWorkHours
, optional) – Telegram Business working hours ».business_location (
BusinessLocation
, optional) – Telegram Business location ».business_greeting_message (
BusinessGreetingMessage
, optional) – Telegram Business greeting message ».business_away_message (
BusinessAwayMessage
, optional) – Telegram Business away message ».business_intro (
BusinessIntro
, optional) – Specifies a custom Telegram Business profile introduction ».birthday (
Birthday
, optional) – Contains info about the user’s birthday ».personal_channel_id (
int
64-bit
, optional) – ID of the associated personal channel », that should be shown in the profile page.personal_channel_message (
int
32-bit
, optional) – ID of the latest message of the associated personal channel », that should be previewed in the profile page.stargifts_count (
int
32-bit
, optional) – Number of gifts the user has chosen to display on their profilestarref_program (
StarRefProgram
, optional) – This bot has an active referral program »bot_verification (
BotVerification
, optional) – N/A