Layer 228
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: "+15551234567",
    FirstName: "Alice",
    LastName: "Smith",
    Vcard: "example",
}