accountstring · default nulladd_contact
Add a new contact to your Telegram account. Args: phone: The phone number of the contact (with country code). Required if username is not provided. first_name: The contact's first name. last_name: The contact's last name (optional). username: The Telegram username (without @). Use this for adding contacts without phone numbers. Note: Either phone or username must be provided. If username is provided, the function will resolve it and add the contact using contacts.addContact API (which supports adding contacts without phone numbers).
Can change or delete data
Parameters
phonestring · default nullfirst_namestring · default ""last_namestring · default ""usernamestring · default null