InlineQueryResultContact

fun InlineQueryResultContact(id: String, phoneNumber: String, firstName: String, lastName: String? = null, vcard: String? = null, replyMarkup: InlineKeyboardMarkup? = null, inputMessageContent: InputMessageContent? = null, thumbUrl: String? = null, thumbWidth: Int? = null, thumbHeight: Int? = null, type: String)

Parameters

id

Unique identifier for this result, 1-64 Bytes

phoneNumber

Contact's phone number

firstName

Contact's first name

lastName

Optional. Contact's last name

vcard

Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes

replyMarkup

Optional. Inline keyboard attached to the message

inputMessageContent

Optional. Content of the message to be sent instead of the contact

thumbUrl

Optional. Url of the thumbnail for the result

thumbWidth

Optional. Thumbnail width

thumbHeight

Optional. Thumbnail height

type

Type of the result, must be contact