UserEmpty#
- class pyrogram.raw.types.UserEmpty#
Empty constructor, non-existent user.
Constructor of
User.- Details:
Layer:
225ID:
D3BC4B7A
- Parameters:
id (
int64-bit) – User identifier or 0
- Functions:
This object can be returned by 9 functions.
Updates user profile.
Changes username for the current user.
Change the phone number of the current account
Returns basic user info according to their identifiers.
Obtain user info from a temporary profile link.
Group/channel owners only: returns the ID of the user that will become the new owner of the group if we decide to leave the group, see here for more info on the full flow.
Can only be invoked by non-bot admins of a monoforum, obtains the original sender of a message sent by other monoforum admins to the monoforum, on behalf of the channel associated to the monoforum.
Get a list of bots owned by the current user
Details: