MessageMediaContact
- class pyrogram.raw.types.MessageMediaContact
Attached contact.
Constructor of
MessageMedia.- Details:
Layer:
223ID:
70322949
- Parameters:
phone_number (
str) – Phone numberfirst_name (
str) – Contact’s first namelast_name (
str) – Contact’s last namevcard (
str) – VCARD of contactuser_id (
int64-bit) – User identifier or 0, if the user with the given phone number is not registered
- Functions:
This object can be returned by 2 functions.
Upload a file and associate it to a chat (without actually sending it to the chat)
Upload a media file associated with an imported chat, click here for more info ».
TL Schema
messageMediaContact#70322949
phone_number:string
first_name:string
last_name:string
vcard:string
user_id:long
= MessageMedia
Parameter Tree
MessageMediaContact
├── phone_number →
string├── first_name →
string├── last_name →
string├── vcard →
string└── user_id →
longExample
MessageMediaContact(
phone_number="text",
first_name="text",
last_name="text",
vcard="text",
user_id=0,
)