Interface InputMediaContact

A contact to be sent

interface InputMediaContact {
    caption?: InputText;
    firstName: string;
    lastName?: string;
    phone: string;
    type: "contact";
    vcard?: string;
}

Hierarchy (view full)

Properties

caption?: InputText

Caption of the media

firstName: string

Contact's first name

lastName?: string

Contact's last name

phone: string

Contact's phone number

type: "contact"
vcard?: string

Additional data about the contact as a vCard (0-2048 bytes)