Contact

class pyrogram.raw.types.Contact

A contact of the current user that is registered in the system.

Constructor of Contact.

Details:
  • Layer: 223

  • ID: 145ADE0B

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

  • mutual (bool) – Current user is in the user’s contact list

TL Schema

contact#145ade0b
user_id:long
mutual:Bool

= Contact

Parameter Tree

Contact
├── user_idlong
└── mutualBool

Example

Contact(
    user_id=0,
    mutual=True,
)