2017-01-02 19:50:37 +01:00
|
|
|
---
|
|
|
|
title: encryptedChat
|
|
|
|
description: encryptedChat attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: encryptedChat
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
2017-03-11 19:54:51 +01:00
|
|
|
|id|[int](../types/int.md) | Yes|
|
|
|
|
|access\_hash|[long](../types/long.md) | Yes|
|
|
|
|
|date|[int](../types/int.md) | Yes|
|
|
|
|
|admin\_id|[int](../types/int.md) | Yes|
|
|
|
|
|participant\_id|[int](../types/int.md) | Yes|
|
|
|
|
|g\_a\_or\_b|[bytes](../types/bytes.md) | Yes|
|
|
|
|
|key\_fingerprint|[long](../types/long.md) | Yes|
|
2017-01-02 19:50:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [EncryptedChat](../types/EncryptedChat.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$encryptedChat = ['_' => 'encryptedChat', 'id' => int, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => bytes, 'key_fingerprint' => long, ];
|
Added docs for layer 18, 23, 25, 27, 33, 38, 40, 41, 42, 44, 45, 46, 51, 53, 55
2017-01-02 21:04:36 +01:00
|
|
|
```
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
encryptedChat={_='encryptedChat', id=int, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b=bytes, key_fingerprint=long, }
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|