mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 07:24:51 +00:00
Add Contact type
This commit is contained in:
parent
33baf91a26
commit
3fa30b3a50
1 changed files with 10 additions and 0 deletions
10
pyrogram/client/types/contact.py
Normal file
10
pyrogram/client/types/contact.py
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
class Contact:
|
||||||
|
def __init__(self,
|
||||||
|
phone_number: str,
|
||||||
|
first_name: str,
|
||||||
|
last_name: str = None,
|
||||||
|
user_id: int = None):
|
||||||
|
self.phone_number = phone_number
|
||||||
|
self.first_name = first_name
|
||||||
|
self.last_name = last_name
|
||||||
|
self.user_id = user_id
|
||||||
Loading…
Reference in a new issue