contacts.AddContact
- class pyrogram.raw.functions.contacts.AddContact
Add an existing telegram user as contact.
- Details:
Layer:
194
ID:
E8F463D0
- Parameters:
id (
InputUser
) – Telegram ID of the other userfirst_name (
str
) – First namelast_name (
str
) – Last namephone (
str
) – User’s phone number, may be omitted to simply add the user to the contact list, without a phone number.add_phone_privacy_exception (
bool
, optional) – Allow the other user to see our phone number?
- Returns: