Interface InputInlineMessageContact

Inline message containing a contact

interface InputInlineMessageContact {
    caption?: InputText;
    firstName: string;
    lastName?: string;
    phone: string;
    replyMarkup?: ReplyMarkup;
    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

replyMarkup?: ReplyMarkup

Message's reply markup

type: "contact"
vcard?: string

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