User¶
- class pyrogram.raw.types.User¶
 Telegram API type.
Constructor of
User.- Details:
 Layer:
207ID:
20B1422
- Parameters:¶
 id (
int64-bit) – N/Ais_self (
bool, optional) – N/Acontact (
bool, optional) – N/Amutual_contact (
bool, optional) – N/Adeleted (
bool, optional) – N/Abot (
bool, optional) – N/Abot_chat_history (
bool, optional) – N/Abot_nochats (
bool, optional) – N/Averified (
bool, optional) – N/Arestricted (
bool, optional) – N/Amin (
bool, optional) – N/Abot_inline_geo (
bool, optional) – N/Asupport (
bool, optional) – N/Ascam (
bool, optional) – N/Aapply_min_photo (
bool, optional) – N/Afake (
bool, optional) – N/Abot_attach_menu (
bool, optional) – N/Apremium (
bool, optional) – N/Aattach_menu_enabled (
bool, optional) – N/Abot_can_edit (
bool, optional) – N/Aclose_friend (
bool, optional) – N/Astories_hidden (
bool, optional) – N/Astories_unavailable (
bool, optional) – N/Acontact_require_premium (
bool, optional) – N/Abot_business (
bool, optional) – N/Abot_has_main_app (
bool, optional) – N/Aaccess_hash (
int64-bit, optional) – N/Afirst_name (
str, optional) – N/Alast_name (
str, optional) – N/Ausername (
str, optional) – N/Aphone (
str, optional) – N/Aphoto (
UserProfilePhoto, optional) – N/Astatus (
UserStatus, optional) – N/Abot_info_version (
int32-bit, optional) – N/Arestriction_reason (List of
RestrictionReason, optional) – N/Abot_inline_placeholder (
str, optional) – N/Alang_code (
str, optional) – N/Aemoji_status (
EmojiStatus, optional) – N/Ausernames (List of
Username, optional) – N/Astories_max_id (
int32-bit, optional) – N/Acolor (
PeerColor, optional) – N/Aprofile_color (
PeerColor, optional) – N/Abot_active_users (
int32-bit, optional) – N/Abot_verification_icon (
int64-bit, optional) – N/Asend_paid_messages_stars (
int64-bit, optional) – N/A
- Functions:
 This object can be returned by 7 functions.
Telegram API function.
Telegram API function.
Telegram API function.
Telegram API function.
Telegram API function.
Telegram API function.
Telegram API function.