Layer 220
constructor
inputMediaContact#f8ab7dfb phone_number:string first_name:string last_name:string vcard:string = InputMedia;

Parameters

Name Type Description
PhoneNumber string Phone number
FirstName string Contact's first name
LastName string Contact's last name
Vcard string Contact vcard

Returns

InputMedia

Gogram Example

// Creating InputMediaContact constructor
obj := &tg.InputMediaContact{
    PhoneNumber: "...",
    FirstName: "...",
    LastName: "...",
    Vcard: "...",
}