AcceptContact

class pyrogram.raw.functions.contacts.AcceptContact

If the peer settings of a new user allow us to add him as contact, add that user as contact.

Details
  • Layer: 122

  • ID: 0xf831a20f

Parameters

id (InputUser) – The user to add as contact.

Returns

Updates – Object which is perceived by the client without a call on its part when an event occurs.