mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Update vcard docstrings for Contact type and send_contact method
This commit is contained in:
parent
49e2e529e1
commit
6879a4da9b
@ -48,7 +48,7 @@ class SendContact(BaseClient):
|
||||
Contact's last name.
|
||||
|
||||
vcard (``str``, *optional*):
|
||||
Contact's vCard information.
|
||||
Additional data about the contact in the form of a vCard, 0-2048 bytes
|
||||
|
||||
disable_notification (``bool``, *optional*):
|
||||
Sends the message silently.
|
||||
|
@ -32,11 +32,11 @@ class Contact(Object):
|
||||
last_name (``str``, *optional*):
|
||||
Contact's last name.
|
||||
|
||||
vcard (``str``, *optional*):
|
||||
Contact's vCard.
|
||||
|
||||
user_id (``int``, *optional*):
|
||||
Contact's user identifier in Telegram.
|
||||
|
||||
vcard (``str``, *optional*):
|
||||
Additional data about the contact in the form of a vCard
|
||||
"""
|
||||
|
||||
ID = 0xb0700011
|
||||
@ -46,11 +46,11 @@ class Contact(Object):
|
||||
phone_number: str,
|
||||
first_name: str,
|
||||
last_name: str = None,
|
||||
vcard: str = None,
|
||||
user_id: int = None
|
||||
user_id: int = None,
|
||||
vcard: str = None
|
||||
):
|
||||
self.phone_number = phone_number
|
||||
self.first_name = first_name
|
||||
self.last_name = last_name
|
||||
self.vcard = vcard
|
||||
self.user_id = user_id
|
||||
self.vcard = vcard
|
||||
|
Loading…
x
Reference in New Issue
Block a user