Link Search Menu Expand Document

Constructor: userFull

Back to constructors index

Extended user info

Attributes:

NameTypeRequiredDescription
blockedBoolOptionalWhether you have blocked this user
phone_calls_availableBoolOptionalWhether this user can make VoIP calls
phone_calls_privateBoolOptionalWhether this user’s privacy settings allow you to call them
can_pin_messageBoolOptionalWhether you can pin messages in the chat with this user, you can do this only for a chat with yourself
has_scheduledBoolOptionalWhether scheduled messages are available
video_calls_availableBoolOptionalWhether the user can receive video calls
voice_messages_forbiddenBoolOptionalWhether this user doesn’t allow sending voice messages in a private chat with them
translations_disabledBoolOptionalWhether the real-time chat translation popup should be hidden.
stories_pinned_availableBoolOptional
blocked_my_stories_fromBoolOptional
wallpaper_overriddenBoolOptional
contact_require_premiumBoolOptional
read_dates_privateBoolOptional
idlongYesUser ID
aboutstringOptionalBio of the user
settingsPeerSettingsYesPeer settings
personal_photoPhotoOptionalPersonal profile photo, to be shown instead of profile_photo.
profile_photoPhotoOptionalProfile photo
fallback_photoPhotoOptionalFallback profile photo, displayed if no photo is present in profile_photo or personal_photo, due to privacy settings.
notify_settingsPeerNotifySettingsYesNotification settings
bot_infoBotInfoOptionalFor bots, info about the bot (bot commands, etc)
pinned_msg_idintOptionalMessage ID of the last pinned message
common_chats_countintYesChats in common with this user
folder_idintOptionalPeer folder ID, for more info click here
ttl_periodintOptionalTime To Live of all messages in this chat; once a message is this many seconds old, it must be deleted.
theme_emoticonstringOptionalEmoji associated with chat theme
private_forward_namestringOptionalAnonymized text to be shown instead of the user’s name on forwarded messages
bot_group_admin_rightsChatAdminRightsOptionalA 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_rightsChatAdminRightsOptionalA 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_giftsArray of PremiumGiftOptionOptionalTelegram Premium subscriptions gift options
wallpaperWallPaperOptionalWallpaper to use in the private chat with the user.
storiesPeerStoriesOptional

Type: UserFull

Example:

$userFull = ['_' => 'userFull', '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, 'contact_require_premium' => Bool, 'read_dates_private' => Bool, 'id' => long, 'about' => 'string', 'settings' => PeerSettings, 'personal_photo' => Photo, 'profile_photo' => Photo, 'fallback_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int, 'folder_id' => int, 'ttl_period' => int, 'theme_emoticon' => 'string', 'private_forward_name' => 'string', 'bot_group_admin_rights' => ChatAdminRights, 'bot_broadcast_admin_rights' => ChatAdminRights, 'premium_gifts' => [PremiumGiftOption, PremiumGiftOption], 'wallpaper' => WallPaper, 'stories' => PeerStories];