AddContact¶
-
class
pyrogram.raw.functions.contacts.
AddContact
¶ Add an existing telegram user as contact.
- Details
Layer:
126
ID:
0xe8f463d0
- Parameters
id (
InputUser
) – Telegram ID of the other user.first_name (
str
) – First name.last_name (
str
) – Last name.phone (
str
) – User’s phone number.add_phone_privacy_exception (
bool
, optional) – Allow the other user to see our phone number?.
- Returns
Updates
– Object which is perceived by the client without a call on its part when an event occurs.