Skip to content

InlineQueryResultContact

Represents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the contact.

Fields

typeString = contactRequired
Type of the result, must be contact
idStringRequired
Unique identifier for this result, 1-64 Bytes
phone_numberStringRequired
Contact's phone number
first_nameStringRequired
Contact's first name
last_nameStringOptional
Optional. Contact's last name
vcardStringOptional
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes
Optional. Inline keyboard attached to the message
input_message_contentInputMessageContentOptional
Optional. Content of the message to be sent instead of the contact
thumbnail_urlStringOptional
Optional. Url of the thumbnail for the result
thumbnail_widthIntegerOptional
Optional. Thumbnail width
thumbnail_heightIntegerOptional
Optional. Thumbnail height

GramIO Usage

See Also