users.getFullUser

Returns extended user info by ID.

userFull#771095da user:User link:contacts.Link profile_photo:Photo notify_settings:PeerNotifySettings blocked:Bool real_first_name:string real_last_name:string = UserFull;
---functions---
users.getFullUser#ca30a5b1 id:InputUser = UserFull;

Parameters

Name Type Description
id InputUser User ID

Result

users.UserFull

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 CHANNEL_PRIVATE You haven't joined this channel/supergroup.
400 MSG_ID_INVALID Invalid message ID provided.
400 USERNAME_OCCUPIED The provided username is already occupied.
400 USER_ID_INVALID The provided user ID is invalid.

Bots can use this method