mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 20:59:29 +00:00
Add Contact type
This commit is contained in:
parent
33baf91a26
commit
3fa30b3a50
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 New Issue
Block a user