1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 16:26:57 +01:00
MadelineProto/docs/TD_docs/constructors/inlineQueryResultContact.md

42 lines
1.1 KiB
Markdown

---
title: inlineQueryResultContact
description: Represents user contact
---
## Constructor: inlineQueryResultContact
[Back to constructors index](index.md)
Represents user contact
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|id|[string](../types/string.md) | Yes|Unique identifier of this result|
|contact|[contact](../types/contact.md) | Yes|User contact|
|thumb\_url|[string](../types/string.md) | Yes|Url of the result thumb, if exists|
|thumb\_width|[int](../types/int.md) | Yes|Thumb width, if known|
|thumb\_height|[int](../types/int.md) | Yes|Thumb height, if known|
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultContact = ['_' => '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, }
```