UserEmpty

class pyrogram.raw.types.UserEmpty

Empty constructor, non-existent user.

Constructor of User.

Details:
  • Layer: 224

  • ID: D3BC4B7A

Parameters:

id (int 64-bit) – User identifier or 0

Functions:

This object can be returned by 9 functions.

account.UpdateProfile

Updates user profile.

account.UpdateUsername

Changes username for the current user.

account.ChangePhone

Change the phone number of the current account

users.GetUsers

Returns basic user info according to their identifiers.

contacts.ImportContactToken

Obtain user info from a temporary profile link.

contacts.ImportCard

Returns general information on a user using his previously exported card as input.The app may use it to open a conversation without knowing the user's phone number.

channels.GetMessageAuthor

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.

channels.GetFutureCreatorAfterLeave

Telegram API function.

bots.GetAdminedBots

Get a list of bots owned by the current user