mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 01:46:55 +01:00
1.3 KiB
1.3 KiB
title | description |
---|---|
inlineQueryResultContact | Represents user contact |
Constructor: inlineQueryResultContact
Represents user contact
Attributes:
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | Unique identifier of this result |
contact | contact | Yes | User contact |
thumb_url | string | Yes | Url of the result thumb, if exists |
thumb_width | int | Yes | Thumb width, if known |
thumb_height | int | Yes | Thumb height, if known |
Type: InlineQueryResult
Example:
$inlineQueryResultContact = ['_' => 'inlineQueryResultContact', 'id' => 'string', 'contact' => contact, 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int];
PWRTelegram json-encoded version:
{"_": "inlineQueryResultContact", "id": "string", "contact": contact, "thumb_url": "string", "thumb_width": int, "thumb_height": int}
Or, if you're into Lua:
inlineQueryResultContact={_='inlineQueryResultContact', id='string', contact=contact, thumb_url='string', thumb_width=int, thumb_height=int}