ContactStatus#

class pyrogram.raw.types.ContactStatus#

Contact status: online / offline.

Constructor of ContactStatus.

Details:
  • Layer: 158

  • ID: 16D9703B

Parameters:
  • user_id (int 64-bit) – User identifier.

  • status (UserStatus) – Online status.

Functions:

This object can be returned by 1 function.

contacts.GetStatuses

Use this method to obtain the online statuses of all contacts with an accessible Telegram account.