Documentation - v0.27.0
    Preparing search index...

    Interface InputInlineResultContact

    Inline result containing a contact.

    If message is not passed, InputInlineMessageContact is used.

    interface InputInlineResultContact {
        firstName: string;
        id: string;
        lastName?: string;
        message?: InputInlineMessage;
        phone: string;
        thumb?: string | RawInputWebDocument;
        type: "contact";
    }

    Hierarchy (View Summary)

    Index

    Properties

    firstName: string

    First name of the contact

    id: string

    Unique ID of the result

    lastName?: string

    Last name of the contact

    Message to send when the result is selected.

    By default, is automatically generated, and details about how it is generated can be found in subclasses' description

    phone: string

    Phone number of the contact

    thumb?: string | RawInputWebDocument

    Contact thumbnail URL (i.e. their avatar) (must be jpeg)

    type: "contact"