Updated to layer 70

This commit is contained in:
Daniil Gentili 2017-07-23 17:44:01 +02:00
parent ecc73b0a9e
commit 9b58979ed0
1092 changed files with 51941 additions and 16 deletions

View File

@ -16,7 +16,7 @@ Also note that MadelineProto will perform better if python and a big math extens
This project is in beta state.
The MadelineProto API documentation can be found [here (layer 68)](https://daniil.it/MadelineProto/API_docs/). VERY IMPORTANT READ THIS.
The MadelineProto API documentation can be found [here (layer 70)](https://daniil.it/MadelineProto/API_docs/). VERY IMPORTANT READ THIS.
Features:

View File

@ -52,7 +52,7 @@ while (true) {
$MadelineProto->messages->sendMessage(['peer' => '@danogentili', 'message' => $e->getCode().': '.$e->getMessage().PHP_EOL.$e->getTraceAsString()]);
}
try {
if (isset($update['update']['message']['media']) && ($update['update']['message']['media']['_'] == 'messageMediaPhoto' || $update['update']['message']['media']['_'] == 'messageMediaDocument')) {
if (isset($update['update']['message']['from_id']) && isset($update['update']['message']['media']) && ($update['update']['message']['media']['_'] == 'messageMediaPhoto' || $update['update']['message']['media']['_'] == 'messageMediaDocument')) {
$time = time();
$file = $MadelineProto->download_to_dir($update['update']['message']['media'], '/tmp');
$MadelineProto->messages->sendMessage(['peer' => $update['update']['message']['from_id'], 'message' => 'Downloaded to '.$file.' in '.(time() - $time).' seconds', 'reply_to_msg_id' => $update['update']['message']['id'], 'entities' => [['_' => 'messageEntityPre', 'offset' => 0, 'length' => strlen($res), 'language' => 'json']]]);

View File

@ -38,9 +38,9 @@ $docs = [
'readme' => false,
],
[
'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v68.tl', 'calls' => __DIR__.'/src/danog/MadelineProto/TL_calls.tl', 'secret' => __DIR__.'/src/danog/MadelineProto/TL_secret.tl', 'td' => __DIR__.'/src/danog/MadelineProto/TL_td.tl'],
'title' => 'MadelineProto API documentation (layer 68)',
'description' => 'MadelineProto API documentation (layer 68)',
'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v70.tl', 'calls' => __DIR__.'/src/danog/MadelineProto/TL_calls.tl', 'secret' => __DIR__.'/src/danog/MadelineProto/TL_secret.tl', 'td' => __DIR__.'/src/danog/MadelineProto/TL_td.tl'],
'title' => 'MadelineProto API documentation (layer 70)',
'description' => 'MadelineProto API documentation (layer 70)',
'output_dir' => __DIR__.'/docs/API_docs',
'readme' => false,
],

View File

@ -20,7 +20,7 @@ Also note that MadelineProto will perform better if python and a big math extens
This project is in beta state.
The MadelineProto API documentation can be found [here (layer 68)](https://daniil.it/MadelineProto/API_docs/). VERY IMPORTANT READ THIS.
The MadelineProto API documentation can be found [here (layer 70)](https://daniil.it/MadelineProto/API_docs/). VERY IMPORTANT READ THIS.
Features:

View File

@ -0,0 +1,14 @@
---
title: MadelineProto API documentation (layer v68)
description: MadelineProto API documentation (layer v68)
---
# MadelineProto API documentation (layer v68)
[Methods](methods/)
[Constructors](constructors/)
[Types](types/)
[Back to main documentation](..)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,42 @@
---
title: accountDaysTTL
description: accountDaysTTL attributes, type and example
---
## Constructor: accountDaysTTL
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|days|[int](../types/int.md) | Yes|
### Type: [AccountDaysTTL](../types/AccountDaysTTL.md)
### Example:
```
$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "accountDaysTTL", "days": int}
```
Or, if you're into Lua:
```
accountDaysTTL={_='accountDaysTTL', days=int}
```

View File

@ -0,0 +1,42 @@
---
title: account.authorizations
description: account_authorizations attributes, type and example
---
## Constructor: account.authorizations
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|
### Type: [account\_Authorizations](../types/account_Authorizations.md)
### Example:
```
$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "account.authorizations", "authorizations": [Authorization]}
```
Or, if you're into Lua:
```
account_authorizations={_='account.authorizations', authorizations={Authorization}}
```

View File

@ -0,0 +1,43 @@
---
title: account.noPassword
description: account_noPassword attributes, type and example
---
## Constructor: account.noPassword
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|new\_salt|[bytes](../types/bytes.md) | Yes|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|
### Type: [account\_Password](../types/account_Password.md)
### Example:
```
$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "account.noPassword", "new_salt": "bytes", "email_unconfirmed_pattern": "string"}
```
Or, if you're into Lua:
```
account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'}
```

View File

@ -0,0 +1,46 @@
---
title: account.password
description: account_password attributes, type and example
---
## Constructor: account.password
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|current\_salt|[bytes](../types/bytes.md) | Yes|
|new\_salt|[bytes](../types/bytes.md) | Yes|
|hint|[string](../types/string.md) | Yes|
|has\_recovery|[Bool](../types/Bool.md) | Yes|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|
### Type: [account\_Password](../types/account_Password.md)
### Example:
```
$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "account.password", "current_salt": "bytes", "new_salt": "bytes", "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"}
```
Or, if you're into Lua:
```
account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'}
```

View File

@ -0,0 +1,45 @@
---
title: account.passwordInputSettings
description: account_passwordInputSettings attributes, type and example
---
## Constructor: account.passwordInputSettings
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|new\_salt|[bytes](../types/bytes.md) | Optional|
|new\_password\_hash|[bytes](../types/bytes.md) | Optional|
|hint|[string](../types/string.md) | Optional|
|email|[string](../types/string.md) | Optional|
### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md)
### Example:
```
$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "account.passwordInputSettings", "new_salt": "bytes", "new_password_hash": "bytes", "hint": "string", "email": "string"}
```
Or, if you're into Lua:
```
account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'}
```

View File

@ -0,0 +1,42 @@
---
title: account.passwordSettings
description: account_passwordSettings attributes, type and example
---
## Constructor: account.passwordSettings
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|email|[string](../types/string.md) | Yes|
### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md)
### Example:
```
$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "account.passwordSettings", "email": "string"}
```
Or, if you're into Lua:
```
account_passwordSettings={_='account.passwordSettings', email='string'}
```

View File

@ -0,0 +1,43 @@
---
title: account.privacyRules
description: account_privacyRules attributes, type and example
---
## Constructor: account.privacyRules
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|
|users|Array of [User](../types/User.md) | Yes|
### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md)
### Example:
```
$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "account.privacyRules", "rules": [PrivacyRule], "users": [User]}
```
Or, if you're into Lua:
```
account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}}
```

View File

@ -0,0 +1,43 @@
---
title: account.tmpPassword
description: account_tmpPassword attributes, type and example
---
## Constructor: account.tmpPassword
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|tmp\_password|[bytes](../types/bytes.md) | Yes|
|valid\_until|[int](../types/int.md) | Yes|
### Type: [account\_TmpPassword](../types/account_TmpPassword.md)
### Example:
```
$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "account.tmpPassword", "tmp_password": "bytes", "valid_until": int}
```
Or, if you're into Lua:
```
account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int}
```

View File

@ -0,0 +1,43 @@
---
title: auth.authorization
description: auth_authorization attributes, type and example
---
## Constructor: auth.authorization
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|tmp\_sessions|[int](../types/int.md) | Optional|
|user|[User](../types/User.md) | Yes|
### Type: [auth\_Authorization](../types/auth_Authorization.md)
### Example:
```
$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.authorization", "tmp_sessions": int, "user": User}
```
Or, if you're into Lua:
```
auth_authorization={_='auth.authorization', tmp_sessions=int, user=User}
```

View File

@ -0,0 +1,42 @@
---
title: auth.checkedPhone
description: auth_checkedPhone attributes, type and example
---
## Constructor: auth.checkedPhone
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|phone\_registered|[Bool](../types/Bool.md) | Yes|
### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md)
### Example:
```
$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.checkedPhone", "phone_registered": Bool}
```
Or, if you're into Lua:
```
auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool}
```

View File

@ -0,0 +1,37 @@
---
title: auth.codeTypeCall
description: auth_codeTypeCall attributes, type and example
---
## Constructor: auth.codeTypeCall
[Back to constructors index](index.md)
### Type: [auth\_CodeType](../types/auth_CodeType.md)
### Example:
```
$auth_codeTypeCall = ['_' => 'auth.codeTypeCall'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.codeTypeCall"}
```
Or, if you're into Lua:
```
auth_codeTypeCall={_='auth.codeTypeCall'}
```

View File

@ -0,0 +1,37 @@
---
title: auth.codeTypeFlashCall
description: auth_codeTypeFlashCall attributes, type and example
---
## Constructor: auth.codeTypeFlashCall
[Back to constructors index](index.md)
### Type: [auth\_CodeType](../types/auth_CodeType.md)
### Example:
```
$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.codeTypeFlashCall"}
```
Or, if you're into Lua:
```
auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'}
```

View File

@ -0,0 +1,37 @@
---
title: auth.codeTypeSms
description: auth_codeTypeSms attributes, type and example
---
## Constructor: auth.codeTypeSms
[Back to constructors index](index.md)
### Type: [auth\_CodeType](../types/auth_CodeType.md)
### Example:
```
$auth_codeTypeSms = ['_' => 'auth.codeTypeSms'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.codeTypeSms"}
```
Or, if you're into Lua:
```
auth_codeTypeSms={_='auth.codeTypeSms'}
```

View File

@ -0,0 +1,43 @@
---
title: auth.exportedAuthorization
description: auth_exportedAuthorization attributes, type and example
---
## Constructor: auth.exportedAuthorization
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[int](../types/int.md) | Yes|
|bytes|[bytes](../types/bytes.md) | Yes|
### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)
### Example:
```
$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.exportedAuthorization", "id": int, "bytes": "bytes"}
```
Or, if you're into Lua:
```
auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'}
```

View File

@ -0,0 +1,42 @@
---
title: auth.passwordRecovery
description: auth_passwordRecovery attributes, type and example
---
## Constructor: auth.passwordRecovery
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|email\_pattern|[string](../types/string.md) | Yes|
### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)
### Example:
```
$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.passwordRecovery", "email_pattern": "string"}
```
Or, if you're into Lua:
```
auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'}
```

View File

@ -0,0 +1,46 @@
---
title: auth.sentCode
description: auth_sentCode attributes, type and example
---
## Constructor: auth.sentCode
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|phone\_registered|[Bool](../types/Bool.md) | Optional|
|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|
|phone\_code\_hash|[string](../types/string.md) | Yes|
|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|
|timeout|[int](../types/int.md) | Optional|
### Type: [auth\_SentCode](../types/auth_SentCode.md)
### Example:
```
$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.sentCode", "phone_registered": Bool, "type": auth_SentCodeType, "phone_code_hash": "string", "next_type": auth_CodeType, "timeout": int}
```
Or, if you're into Lua:
```
auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int}
```

View File

@ -0,0 +1,42 @@
---
title: auth.sentCodeTypeApp
description: auth_sentCodeTypeApp attributes, type and example
---
## Constructor: auth.sentCodeTypeApp
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|length|[int](../types/int.md) | Yes|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.sentCodeTypeApp", "length": int}
```
Or, if you're into Lua:
```
auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int}
```

View File

@ -0,0 +1,42 @@
---
title: auth.sentCodeTypeCall
description: auth_sentCodeTypeCall attributes, type and example
---
## Constructor: auth.sentCodeTypeCall
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|length|[int](../types/int.md) | Yes|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.sentCodeTypeCall", "length": int}
```
Or, if you're into Lua:
```
auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int}
```

View File

@ -0,0 +1,42 @@
---
title: auth.sentCodeTypeFlashCall
description: auth_sentCodeTypeFlashCall attributes, type and example
---
## Constructor: auth.sentCodeTypeFlashCall
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|pattern|[string](../types/string.md) | Yes|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.sentCodeTypeFlashCall", "pattern": "string"}
```
Or, if you're into Lua:
```
auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'}
```

View File

@ -0,0 +1,42 @@
---
title: auth.sentCodeTypeSms
description: auth_sentCodeTypeSms attributes, type and example
---
## Constructor: auth.sentCodeTypeSms
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|length|[int](../types/int.md) | Yes|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.sentCodeTypeSms", "length": int}
```
Or, if you're into Lua:
```
auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int}
```

View File

@ -0,0 +1,53 @@
---
title: authorization
description: authorization attributes, type and example
---
## Constructor: authorization
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|hash|[long](../types/long.md) | Yes|
|device\_model|[string](../types/string.md) | Yes|
|platform|[string](../types/string.md) | Yes|
|system\_version|[string](../types/string.md) | Yes|
|api\_id|[int](../types/int.md) | Yes|
|app\_name|[string](../types/string.md) | Yes|
|app\_version|[string](../types/string.md) | Yes|
|date\_created|[int](../types/int.md) | Yes|
|date\_active|[int](../types/int.md) | Yes|
|ip|[string](../types/string.md) | Yes|
|country|[string](../types/string.md) | Yes|
|region|[string](../types/string.md) | Yes|
### Type: [Authorization](../types/Authorization.md)
### Example:
```
$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "authorization", "hash": long, "device_model": "string", "platform": "string", "system_version": "string", "api_id": int, "app_name": "string", "app_version": "string", "date_created": int, "date_active": int, "ip": "string", "country": "string", "region": "string"}
```
Or, if you're into Lua:
```
authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'}
```

View File

@ -0,0 +1,44 @@
---
title: bad_msg_notification
description: bad_msg_notification attributes, type and example
---
## Constructor: bad\_msg\_notification
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|bad\_msg\_id|[long](../types/long.md) | Yes|
|bad\_msg\_seqno|[int](../types/int.md) | Yes|
|error\_code|[int](../types/int.md) | Yes|
### Type: [BadMsgNotification](../types/BadMsgNotification.md)
### Example:
```
$bad_msg_notification = ['_' => 'bad_msg_notification', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "bad_msg_notification", "bad_msg_id": long, "bad_msg_seqno": int, "error_code": int}
```
Or, if you're into Lua:
```
bad_msg_notification={_='bad_msg_notification', bad_msg_id=long, bad_msg_seqno=int, error_code=int}
```

View File

@ -0,0 +1,45 @@
---
title: bad_server_salt
description: bad_server_salt attributes, type and example
---
## Constructor: bad\_server\_salt
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|bad\_msg\_id|[long](../types/long.md) | Yes|
|bad\_msg\_seqno|[int](../types/int.md) | Yes|
|error\_code|[int](../types/int.md) | Yes|
|new\_server\_salt|[long](../types/long.md) | Yes|
### Type: [BadMsgNotification](../types/BadMsgNotification.md)
### Example:
```
$bad_server_salt = ['_' => 'bad_server_salt', 'bad_msg_id' => long, 'bad_msg_seqno' => int, 'error_code' => int, 'new_server_salt' => long];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "bad_server_salt", "bad_msg_id": long, "bad_msg_seqno": int, "error_code": int, "new_server_salt": long}
```
Or, if you're into Lua:
```
bad_server_salt={_='bad_server_salt', bad_msg_id=long, bad_msg_seqno=int, error_code=int, new_server_salt=long}
```

View File

@ -0,0 +1,8 @@
---
title: boolFalse
description: Represents a boolean with value equal to false
---
# boolFalse
[Back to constructor index](index.md)
Represents a boolean with value equal to `false`.

View File

@ -0,0 +1,8 @@
---
title: boolTrue
description: Represents a boolean with value equal to true
---
# boolTrue
[Back to constructor index](index.md)
Represents a boolean with value equal to `true`.

View File

@ -0,0 +1,43 @@
---
title: botCommand
description: botCommand attributes, type and example
---
## Constructor: botCommand
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|command|[string](../types/string.md) | Yes|
|description|[string](../types/string.md) | Yes|
### Type: [BotCommand](../types/BotCommand.md)
### Example:
```
$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "botCommand", "command": "string", "description": "string"}
```
Or, if you're into Lua:
```
botCommand={_='botCommand', command='string', description='string'}
```

View File

@ -0,0 +1,44 @@
---
title: botInfo
description: botInfo attributes, type and example
---
## Constructor: botInfo
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Yes|
|description|[string](../types/string.md) | Yes|
|commands|Array of [BotCommand](../types/BotCommand.md) | Yes|
### Type: [BotInfo](../types/BotInfo.md)
### Example:
```
$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "botInfo", "user_id": int, "description": "string", "commands": [BotCommand]}
```
Or, if you're into Lua:
```
botInfo={_='botInfo', user_id=int, description='string', commands={BotCommand}}
```

View File

@ -0,0 +1,48 @@
---
title: botInlineMediaResult
description: botInlineMediaResult attributes, type and example
---
## Constructor: botInlineMediaResult
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[string](../types/string.md) | Yes|
|type|[string](../types/string.md) | Yes|
|photo|[Photo](../types/Photo.md) | Optional|
|document|[Document](../types/Document.md) | Optional|
|title|[string](../types/string.md) | Optional|
|description|[string](../types/string.md) | Optional|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|
### Type: [BotInlineResult](../types/BotInlineResult.md)
### Example:
```
$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "botInlineMediaResult", "id": "string", "type": "string", "photo": Photo, "document": Document, "title": "string", "description": "string", "send_message": BotInlineMessage}
```
Or, if you're into Lua:
```
botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage}
```

View File

@ -0,0 +1,49 @@
---
title: botInlineMessageMediaAuto
description: botInlineMessageMediaAuto attributes, type and example
---
## Constructor: botInlineMessageMediaAuto
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|caption|[string](../types/string.md) | Yes|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'caption' => 'string', 'reply_markup' => ReplyMarkup];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "botInlineMessageMediaAuto", "caption": "string", "reply_markup": ReplyMarkup}
```
Or, if you're into Lua:
```
botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,51 @@
---
title: botInlineMessageMediaContact
description: botInlineMessageMediaContact attributes, type and example
---
## Constructor: botInlineMessageMediaContact
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|phone\_number|[string](../types/string.md) | Yes|
|first\_name|[string](../types/string.md) | Yes|
|last\_name|[string](../types/string.md) | Yes|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "botInlineMessageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "reply_markup": ReplyMarkup}
```
Or, if you're into Lua:
```
botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,49 @@
---
title: botInlineMessageMediaGeo
description: botInlineMessageMediaGeo attributes, type and example
---
## Constructor: botInlineMessageMediaGeo
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|geo|[GeoPoint](../types/GeoPoint.md) | Yes|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "reply_markup": ReplyMarkup}
```
Or, if you're into Lua:
```
botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,53 @@
---
title: botInlineMessageMediaVenue
description: botInlineMessageMediaVenue attributes, type and example
---
## Constructor: botInlineMessageMediaVenue
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|geo|[GeoPoint](../types/GeoPoint.md) | Yes|
|title|[string](../types/string.md) | Yes|
|address|[string](../types/string.md) | Yes|
|provider|[string](../types/string.md) | Yes|
|venue\_id|[string](../types/string.md) | Yes|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "botInlineMessageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup}
```
Or, if you're into Lua:
```
botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,51 @@
---
title: botInlineMessageText
description: botInlineMessageText attributes, type and example
---
## Constructor: botInlineMessageText
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|no\_webpage|[Bool](../types/Bool.md) | Optional|
|message|[string](../types/string.md) | Yes|
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "botInlineMessageText", "no_webpage": Bool, "message": "string", "entities": [MessageEntity], "reply_markup": ReplyMarkup}
```
Or, if you're into Lua:
```
botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,53 @@
---
title: botInlineResult
description: botInlineResult attributes, type and example
---
## Constructor: botInlineResult
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[string](../types/string.md) | Yes|
|type|[string](../types/string.md) | Yes|
|title|[string](../types/string.md) | Optional|
|description|[string](../types/string.md) | Optional|
|url|[string](../types/string.md) | Optional|
|thumb\_url|[string](../types/string.md) | Optional|
|content\_url|[string](../types/string.md) | Optional|
|content\_type|[string](../types/string.md) | Optional|
|w|[int](../types/int.md) | Optional|
|h|[int](../types/int.md) | Optional|
|duration|[int](../types/int.md) | Optional|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|
### Type: [BotInlineResult](../types/BotInlineResult.md)
### Example:
```
$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": BotInlineMessage}
```
Or, if you're into Lua:
```
botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage}
```

View File

@ -0,0 +1,42 @@
---
title: cdnConfig
description: cdnConfig attributes, type and example
---
## Constructor: cdnConfig
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|public\_keys|Array of [CdnPublicKey](../types/CdnPublicKey.md) | Yes|
### Type: [CdnConfig](../types/CdnConfig.md)
### Example:
```
$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "cdnConfig", "public_keys": [CdnPublicKey]}
```
Or, if you're into Lua:
```
cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}}
```

View File

@ -0,0 +1,43 @@
---
title: cdnPublicKey
description: cdnPublicKey attributes, type and example
---
## Constructor: cdnPublicKey
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|dc\_id|[int](../types/int.md) | Yes|
|public\_key|[string](../types/string.md) | Yes|
### Type: [CdnPublicKey](../types/CdnPublicKey.md)
### Example:
```
$cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "cdnPublicKey", "dc_id": int, "public_key": "string"}
```
Or, if you're into Lua:
```
cdnPublicKey={_='cdnPublicKey', dc_id=int, public_key='string'}
```

View File

@ -0,0 +1,60 @@
---
title: channel
description: channel attributes, type and example
---
## Constructor: channel
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|creator|[Bool](../types/Bool.md) | Optional|
|left|[Bool](../types/Bool.md) | Optional|
|broadcast|[Bool](../types/Bool.md) | Optional|
|verified|[Bool](../types/Bool.md) | Optional|
|megagroup|[Bool](../types/Bool.md) | Optional|
|restricted|[Bool](../types/Bool.md) | Optional|
|democracy|[Bool](../types/Bool.md) | Optional|
|signatures|[Bool](../types/Bool.md) | Optional|
|min|[Bool](../types/Bool.md) | Optional|
|id|[int](../types/int.md) | Yes|
|access\_hash|[long](../types/long.md) | Optional|
|title|[string](../types/string.md) | Yes|
|username|[string](../types/string.md) | Optional|
|photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
|date|[int](../types/int.md) | Yes|
|version|[int](../types/int.md) | Yes|
|restriction\_reason|[string](../types/string.md) | Optional|
|admin\_rights|[ChannelAdminRights](../types/ChannelAdminRights.md) | Optional|
|banned\_rights|[ChannelBannedRights](../types/ChannelBannedRights.md) | Optional|
### Type: [Chat](../types/Chat.md)
### Example:
```
$channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => 'string', 'admin_rights' => ChannelAdminRights, 'banned_rights' => ChannelBannedRights];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channel", "creator": Bool, "left": Bool, "broadcast": Bool, "verified": Bool, "megagroup": Bool, "restricted": Bool, "democracy": Bool, "signatures": Bool, "min": Bool, "id": int, "access_hash": long, "title": "string", "username": "string", "photo": ChatPhoto, "date": int, "version": int, "restriction_reason": "string", "admin_rights": ChannelAdminRights, "banned_rights": ChannelBannedRights}
```
Or, if you're into Lua:
```
channel={_='channel', creator=Bool, left=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, democracy=Bool, signatures=Bool, min=Bool, id=int, access_hash=long, title='string', username='string', photo=ChatPhoto, date=int, version=int, restriction_reason='string', admin_rights=ChannelAdminRights, banned_rights=ChannelBannedRights}
```

View File

@ -0,0 +1,45 @@
---
title: channelAdminLogEvent
description: channelAdminLogEvent attributes, type and example
---
## Constructor: channelAdminLogEvent
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[long](../types/long.md) | Yes|
|date|[int](../types/int.md) | Yes|
|user\_id|[int](../types/int.md) | Yes|
|action|[ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md) | Yes|
### Type: [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)
### Example:
```
$channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEvent", "id": long, "date": int, "user_id": int, "action": ChannelAdminLogEventAction}
```
Or, if you're into Lua:
```
channelAdminLogEvent={_='channelAdminLogEvent', id=long, date=int, user_id=int, action=ChannelAdminLogEventAction}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionChangeAbout
description: channelAdminLogEventActionChangeAbout attributes, type and example
---
## Constructor: channelAdminLogEventActionChangeAbout
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_value|[string](../types/string.md) | Yes|
|new\_value|[string](../types/string.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionChangeAbout", "prev_value": "string", "new_value": "string"}
```
Or, if you're into Lua:
```
channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionChangePhoto
description: channelAdminLogEventActionChangePhoto attributes, type and example
---
## Constructor: channelAdminLogEventActionChangePhoto
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
|new\_photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionChangePhoto", "prev_photo": ChatPhoto, "new_photo": ChatPhoto}
```
Or, if you're into Lua:
```
channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionChangeTitle
description: channelAdminLogEventActionChangeTitle attributes, type and example
---
## Constructor: channelAdminLogEventActionChangeTitle
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_value|[string](../types/string.md) | Yes|
|new\_value|[string](../types/string.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionChangeTitle", "prev_value": "string", "new_value": "string"}
```
Or, if you're into Lua:
```
channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionChangeUsername
description: channelAdminLogEventActionChangeUsername attributes, type and example
---
## Constructor: channelAdminLogEventActionChangeUsername
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_value|[string](../types/string.md) | Yes|
|new\_value|[string](../types/string.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionChangeUsername", "prev_value": "string", "new_value": "string"}
```
Or, if you're into Lua:
```
channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'}
```

View File

@ -0,0 +1,42 @@
---
title: channelAdminLogEventActionDeleteMessage
description: channelAdminLogEventActionDeleteMessage attributes, type and example
---
## Constructor: channelAdminLogEventActionDeleteMessage
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|message|[Message](../types/Message.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionDeleteMessage", "message": Message}
```
Or, if you're into Lua:
```
channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionEditMessage
description: channelAdminLogEventActionEditMessage attributes, type and example
---
## Constructor: channelAdminLogEventActionEditMessage
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_message|[Message](../types/Message.md) | Yes|
|new\_message|[Message](../types/Message.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionEditMessage", "prev_message": Message, "new_message": Message}
```
Or, if you're into Lua:
```
channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message}
```

View File

@ -0,0 +1,42 @@
---
title: channelAdminLogEventActionParticipantInvite
description: channelAdminLogEventActionParticipantInvite attributes, type and example
---
## Constructor: channelAdminLogEventActionParticipantInvite
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionParticipantInvite", "participant": ChannelParticipant}
```
Or, if you're into Lua:
```
channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant}
```

View File

@ -0,0 +1,37 @@
---
title: channelAdminLogEventActionParticipantJoin
description: channelAdminLogEventActionParticipantJoin attributes, type and example
---
## Constructor: channelAdminLogEventActionParticipantJoin
[Back to constructors index](index.md)
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionParticipantJoin"}
```
Or, if you're into Lua:
```
channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'}
```

View File

@ -0,0 +1,37 @@
---
title: channelAdminLogEventActionParticipantLeave
description: channelAdminLogEventActionParticipantLeave attributes, type and example
---
## Constructor: channelAdminLogEventActionParticipantLeave
[Back to constructors index](index.md)
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionParticipantLeave"}
```
Or, if you're into Lua:
```
channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionParticipantToggleAdmin
description: channelAdminLogEventActionParticipantToggleAdmin attributes, type and example
---
## Constructor: channelAdminLogEventActionParticipantToggleAdmin
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|new\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionParticipantToggleAdmin", "prev_participant": ChannelParticipant, "new_participant": ChannelParticipant}
```
Or, if you're into Lua:
```
channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionParticipantToggleBan
description: channelAdminLogEventActionParticipantToggleBan attributes, type and example
---
## Constructor: channelAdminLogEventActionParticipantToggleBan
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|new\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionParticipantToggleBan", "prev_participant": ChannelParticipant, "new_participant": ChannelParticipant}
```
Or, if you're into Lua:
```
channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant}
```

View File

@ -0,0 +1,42 @@
---
title: channelAdminLogEventActionToggleInvites
description: channelAdminLogEventActionToggleInvites attributes, type and example
---
## Constructor: channelAdminLogEventActionToggleInvites
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|new\_value|[Bool](../types/Bool.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionToggleInvites", "new_value": Bool}
```
Or, if you're into Lua:
```
channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool}
```

View File

@ -0,0 +1,42 @@
---
title: channelAdminLogEventActionToggleSignatures
description: channelAdminLogEventActionToggleSignatures attributes, type and example
---
## Constructor: channelAdminLogEventActionToggleSignatures
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|new\_value|[Bool](../types/Bool.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionToggleSignatures", "new_value": Bool}
```
Or, if you're into Lua:
```
channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool}
```

View File

@ -0,0 +1,42 @@
---
title: channelAdminLogEventActionUpdatePinned
description: channelAdminLogEventActionUpdatePinned attributes, type and example
---
## Constructor: channelAdminLogEventActionUpdatePinned
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|message|[Message](../types/Message.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionUpdatePinned", "message": Message}
```
Or, if you're into Lua:
```
channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message}
```

View File

@ -0,0 +1,55 @@
---
title: channelAdminLogEventsFilter
description: channelAdminLogEventsFilter attributes, type and example
---
## Constructor: channelAdminLogEventsFilter
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|join|[Bool](../types/Bool.md) | Optional|
|leave|[Bool](../types/Bool.md) | Optional|
|invite|[Bool](../types/Bool.md) | Optional|
|ban|[Bool](../types/Bool.md) | Optional|
|unban|[Bool](../types/Bool.md) | Optional|
|kick|[Bool](../types/Bool.md) | Optional|
|unkick|[Bool](../types/Bool.md) | Optional|
|promote|[Bool](../types/Bool.md) | Optional|
|demote|[Bool](../types/Bool.md) | Optional|
|info|[Bool](../types/Bool.md) | Optional|
|settings|[Bool](../types/Bool.md) | Optional|
|pinned|[Bool](../types/Bool.md) | Optional|
|edit|[Bool](../types/Bool.md) | Optional|
|delete|[Bool](../types/Bool.md) | Optional|
### Type: [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md)
### Example:
```
$channelAdminLogEventsFilter = ['_' => 'channelAdminLogEventsFilter', 'join' => Bool, 'leave' => Bool, 'invite' => Bool, 'ban' => Bool, 'unban' => Bool, 'kick' => Bool, 'unkick' => Bool, 'promote' => Bool, 'demote' => Bool, 'info' => Bool, 'settings' => Bool, 'pinned' => Bool, 'edit' => Bool, 'delete' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventsFilter", "join": Bool, "leave": Bool, "invite": Bool, "ban": Bool, "unban": Bool, "kick": Bool, "unkick": Bool, "promote": Bool, "demote": Bool, "info": Bool, "settings": Bool, "pinned": Bool, "edit": Bool, "delete": Bool}
```
Or, if you're into Lua:
```
channelAdminLogEventsFilter={_='channelAdminLogEventsFilter', join=Bool, leave=Bool, invite=Bool, ban=Bool, unban=Bool, kick=Bool, unkick=Bool, promote=Bool, demote=Bool, info=Bool, settings=Bool, pinned=Bool, edit=Bool, delete=Bool}
```

View File

@ -0,0 +1,50 @@
---
title: channelAdminRights
description: channelAdminRights attributes, type and example
---
## Constructor: channelAdminRights
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|change\_info|[Bool](../types/Bool.md) | Optional|
|post\_messages|[Bool](../types/Bool.md) | Optional|
|edit\_messages|[Bool](../types/Bool.md) | Optional|
|delete\_messages|[Bool](../types/Bool.md) | Optional|
|ban\_users|[Bool](../types/Bool.md) | Optional|
|invite\_users|[Bool](../types/Bool.md) | Optional|
|invite\_link|[Bool](../types/Bool.md) | Optional|
|pin\_messages|[Bool](../types/Bool.md) | Optional|
|add\_admins|[Bool](../types/Bool.md) | Optional|
### Type: [ChannelAdminRights](../types/ChannelAdminRights.md)
### Example:
```
$channelAdminRights = ['_' => 'channelAdminRights', 'change_info' => Bool, 'post_messages' => Bool, 'edit_messages' => Bool, 'delete_messages' => Bool, 'ban_users' => Bool, 'invite_users' => Bool, 'invite_link' => Bool, 'pin_messages' => Bool, 'add_admins' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminRights", "change_info": Bool, "post_messages": Bool, "edit_messages": Bool, "delete_messages": Bool, "ban_users": Bool, "invite_users": Bool, "invite_link": Bool, "pin_messages": Bool, "add_admins": Bool}
```
Or, if you're into Lua:
```
channelAdminRights={_='channelAdminRights', change_info=Bool, post_messages=Bool, edit_messages=Bool, delete_messages=Bool, ban_users=Bool, invite_users=Bool, invite_link=Bool, pin_messages=Bool, add_admins=Bool}
```

View File

@ -0,0 +1,50 @@
---
title: channelBannedRights
description: channelBannedRights attributes, type and example
---
## Constructor: channelBannedRights
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|view\_messages|[Bool](../types/Bool.md) | Optional|
|send\_messages|[Bool](../types/Bool.md) | Optional|
|send\_media|[Bool](../types/Bool.md) | Optional|
|send\_stickers|[Bool](../types/Bool.md) | Optional|
|send\_gifs|[Bool](../types/Bool.md) | Optional|
|send\_games|[Bool](../types/Bool.md) | Optional|
|send\_inline|[Bool](../types/Bool.md) | Optional|
|embed\_links|[Bool](../types/Bool.md) | Optional|
|until\_date|[int](../types/int.md) | Yes|
### Type: [ChannelBannedRights](../types/ChannelBannedRights.md)
### Example:
```
$channelBannedRights = ['_' => 'channelBannedRights', 'view_messages' => Bool, 'send_messages' => Bool, 'send_media' => Bool, 'send_stickers' => Bool, 'send_gifs' => Bool, 'send_games' => Bool, 'send_inline' => Bool, 'embed_links' => Bool, 'until_date' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelBannedRights", "view_messages": Bool, "send_messages": Bool, "send_media": Bool, "send_stickers": Bool, "send_gifs": Bool, "send_games": Bool, "send_inline": Bool, "embed_links": Bool, "until_date": int}
```
Or, if you're into Lua:
```
channelBannedRights={_='channelBannedRights', view_messages=Bool, send_messages=Bool, send_media=Bool, send_stickers=Bool, send_gifs=Bool, send_games=Bool, send_inline=Bool, embed_links=Bool, until_date=int}
```

View File

@ -0,0 +1,47 @@
---
title: channelForbidden
description: channelForbidden attributes, type and example
---
## Constructor: channelForbidden
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|broadcast|[Bool](../types/Bool.md) | Optional|
|megagroup|[Bool](../types/Bool.md) | Optional|
|id|[int](../types/int.md) | Yes|
|access\_hash|[long](../types/long.md) | Yes|
|title|[string](../types/string.md) | Yes|
|until\_date|[int](../types/int.md) | Optional|
### Type: [Chat](../types/Chat.md)
### Example:
```
$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelForbidden", "broadcast": Bool, "megagroup": Bool, "id": int, "access_hash": long, "title": "string", "until_date": int}
```
Or, if you're into Lua:
```
channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title='string', until_date=int}
```

View File

@ -0,0 +1,59 @@
---
title: channelFull
description: channelFull attributes, type and example
---
## Constructor: channelFull
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|can\_view\_participants|[Bool](../types/Bool.md) | Optional|
|can\_set\_username|[Bool](../types/Bool.md) | Optional|
|id|[int](../types/int.md) | Yes|
|about|[string](../types/string.md) | Yes|
|participants\_count|[int](../types/int.md) | Optional|
|admins\_count|[int](../types/int.md) | Optional|
|kicked\_count|[int](../types/int.md) | Optional|
|banned\_count|[int](../types/int.md) | Optional|
|read\_inbox\_max\_id|[int](../types/int.md) | Yes|
|read\_outbox\_max\_id|[int](../types/int.md) | Yes|
|unread\_count|[int](../types/int.md) | Yes|
|chat\_photo|[Photo](../types/Photo.md) | Yes|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Yes|
|migrated\_from\_chat\_id|[int](../types/int.md) | Optional|
|migrated\_from\_max\_id|[int](../types/int.md) | Optional|
|pinned\_msg\_id|[int](../types/int.md) | Optional|
### Type: [ChatFull](../types/ChatFull.md)
### Example:
```
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelFull", "can_view_participants": Bool, "can_set_username": Bool, "id": int, "about": "string", "participants_count": int, "admins_count": int, "kicked_count": int, "banned_count": int, "read_inbox_max_id": int, "read_outbox_max_id": int, "unread_count": int, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo], "migrated_from_chat_id": int, "migrated_from_max_id": int, "pinned_msg_id": int}
```
Or, if you're into Lua:
```
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_count=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int}
```

View File

@ -0,0 +1,43 @@
---
title: channelMessagesFilter
description: channelMessagesFilter attributes, type and example
---
## Constructor: channelMessagesFilter
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional|
|ranges|Array of [MessageRange](../types/MessageRange.md) | Yes|
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
### Example:
```
$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelMessagesFilter", "exclude_new_messages": Bool, "ranges": [MessageRange]}
```
Or, if you're into Lua:
```
channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}}
```

View File

@ -0,0 +1,37 @@
---
title: channelMessagesFilterEmpty
description: channelMessagesFilterEmpty attributes, type and example
---
## Constructor: channelMessagesFilterEmpty
[Back to constructors index](index.md)
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
### Example:
```
$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelMessagesFilterEmpty"}
```
Or, if you're into Lua:
```
channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'}
```

View File

@ -0,0 +1,43 @@
---
title: channelParticipant
description: channelParticipant attributes, type and example
---
## Constructor: channelParticipant
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipant", "user_id": int, "date": int}
```
Or, if you're into Lua:
```
channelParticipant={_='channelParticipant', user_id=int, date=int}
```

View File

@ -0,0 +1,47 @@
---
title: channelParticipantAdmin
description: channelParticipantAdmin attributes, type and example
---
## Constructor: channelParticipantAdmin
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|can\_edit|[Bool](../types/Bool.md) | Optional|
|user\_id|[int](../types/int.md) | Yes|
|inviter\_id|[int](../types/int.md) | Yes|
|promoted\_by|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
|admin\_rights|[ChannelAdminRights](../types/ChannelAdminRights.md) | Yes|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantAdmin", "can_edit": Bool, "user_id": int, "inviter_id": int, "promoted_by": int, "date": int, "admin_rights": ChannelAdminRights}
```
Or, if you're into Lua:
```
channelParticipantAdmin={_='channelParticipantAdmin', can_edit=Bool, user_id=int, inviter_id=int, promoted_by=int, date=int, admin_rights=ChannelAdminRights}
```

View File

@ -0,0 +1,46 @@
---
title: channelParticipantBanned
description: channelParticipantBanned attributes, type and example
---
## Constructor: channelParticipantBanned
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|left|[Bool](../types/Bool.md) | Optional|
|user\_id|[int](../types/int.md) | Yes|
|kicked\_by|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
|banned\_rights|[ChannelBannedRights](../types/ChannelBannedRights.md) | Yes|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantBanned", "left": Bool, "user_id": int, "kicked_by": int, "date": int, "banned_rights": ChannelBannedRights}
```
Or, if you're into Lua:
```
channelParticipantBanned={_='channelParticipantBanned', left=Bool, user_id=int, kicked_by=int, date=int, banned_rights=ChannelBannedRights}
```

View File

@ -0,0 +1,42 @@
---
title: channelParticipantCreator
description: channelParticipantCreator attributes, type and example
---
## Constructor: channelParticipantCreator
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Yes|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantCreator", "user_id": int}
```
Or, if you're into Lua:
```
channelParticipantCreator={_='channelParticipantCreator', user_id=int}
```

View File

@ -0,0 +1,44 @@
---
title: channelParticipantSelf
description: channelParticipantSelf attributes, type and example
---
## Constructor: channelParticipantSelf
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Yes|
|inviter\_id|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantSelf", "user_id": int, "inviter_id": int, "date": int}
```
Or, if you're into Lua:
```
channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int}
```

View File

@ -0,0 +1,37 @@
---
title: channelParticipantsAdmins
description: channelParticipantsAdmins attributes, type and example
---
## Constructor: channelParticipantsAdmins
[Back to constructors index](index.md)
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantsAdmins"}
```
Or, if you're into Lua:
```
channelParticipantsAdmins={_='channelParticipantsAdmins'}
```

View File

@ -0,0 +1,42 @@
---
title: channelParticipantsBanned
description: channelParticipantsBanned attributes, type and example
---
## Constructor: channelParticipantsBanned
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|q|[string](../types/string.md) | Yes|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantsBanned", "q": "string"}
```
Or, if you're into Lua:
```
channelParticipantsBanned={_='channelParticipantsBanned', q='string'}
```

View File

@ -0,0 +1,37 @@
---
title: channelParticipantsBots
description: channelParticipantsBots attributes, type and example
---
## Constructor: channelParticipantsBots
[Back to constructors index](index.md)
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsBots = ['_' => 'channelParticipantsBots'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantsBots"}
```
Or, if you're into Lua:
```
channelParticipantsBots={_='channelParticipantsBots'}
```

View File

@ -0,0 +1,42 @@
---
title: channelParticipantsKicked
description: channelParticipantsKicked attributes, type and example
---
## Constructor: channelParticipantsKicked
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|q|[string](../types/string.md) | Yes|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantsKicked", "q": "string"}
```
Or, if you're into Lua:
```
channelParticipantsKicked={_='channelParticipantsKicked', q='string'}
```

View File

@ -0,0 +1,37 @@
---
title: channelParticipantsRecent
description: channelParticipantsRecent attributes, type and example
---
## Constructor: channelParticipantsRecent
[Back to constructors index](index.md)
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsRecent = ['_' => 'channelParticipantsRecent'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantsRecent"}
```
Or, if you're into Lua:
```
channelParticipantsRecent={_='channelParticipantsRecent'}
```

View File

@ -0,0 +1,42 @@
---
title: channelParticipantsSearch
description: channelParticipantsSearch attributes, type and example
---
## Constructor: channelParticipantsSearch
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|q|[string](../types/string.md) | Yes|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantsSearch", "q": "string"}
```
Or, if you're into Lua:
```
channelParticipantsSearch={_='channelParticipantsSearch', q='string'}
```

View File

@ -0,0 +1,44 @@
---
title: channels.adminLogResults
description: channels_adminLogResults attributes, type and example
---
## Constructor: channels.adminLogResults
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|
|chats|Array of [Chat](../types/Chat.md) | Yes|
|users|Array of [User](../types/User.md) | Yes|
### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md)
### Example:
```
$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent], 'chats' => [Chat], 'users' => [User]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channels.adminLogResults", "events": [ChannelAdminLogEvent], "chats": [Chat], "users": [User]}
```
Or, if you're into Lua:
```
channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}}
```

View File

@ -0,0 +1,43 @@
---
title: channels.channelParticipant
description: channels_channelParticipant attributes, type and example
---
## Constructor: channels.channelParticipant
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|users|Array of [User](../types/User.md) | Yes|
### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)
### Example:
```
$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channels.channelParticipant", "participant": ChannelParticipant, "users": [User]}
```
Or, if you're into Lua:
```
channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}}
```

View File

@ -0,0 +1,44 @@
---
title: channels.channelParticipants
description: channels_channelParticipants attributes, type and example
---
## Constructor: channels.channelParticipants
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|count|[int](../types/int.md) | Yes|
|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|users|Array of [User](../types/User.md) | Yes|
### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
### Example:
```
$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant], 'users' => [User]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channels.channelParticipants", "count": int, "participants": [ChannelParticipant], "users": [User]}
```
Or, if you're into Lua:
```
channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}}
```

View File

@ -0,0 +1,54 @@
---
title: chat
description: chat attributes, type and example
---
## Constructor: chat
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|creator|[Bool](../types/Bool.md) | Optional|
|kicked|[Bool](../types/Bool.md) | Optional|
|left|[Bool](../types/Bool.md) | Optional|
|admins\_enabled|[Bool](../types/Bool.md) | Optional|
|admin|[Bool](../types/Bool.md) | Optional|
|deactivated|[Bool](../types/Bool.md) | Optional|
|id|[int](../types/int.md) | Yes|
|title|[string](../types/string.md) | Yes|
|photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
|participants\_count|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
|version|[int](../types/int.md) | Yes|
|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional|
### Type: [Chat](../types/Chat.md)
### Example:
```
$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chat", "creator": Bool, "kicked": Bool, "left": Bool, "admins_enabled": Bool, "admin": Bool, "deactivated": Bool, "id": int, "title": "string", "photo": ChatPhoto, "participants_count": int, "date": int, "version": int, "migrated_to": InputChannel}
```
Or, if you're into Lua:
```
chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel}
```

View File

@ -0,0 +1,42 @@
---
title: chatEmpty
description: chatEmpty attributes, type and example
---
## Constructor: chatEmpty
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[int](../types/int.md) | Yes|
### Type: [Chat](../types/Chat.md)
### Example:
```
$chatEmpty = ['_' => 'chatEmpty', 'id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatEmpty", "id": int}
```
Or, if you're into Lua:
```
chatEmpty={_='chatEmpty', id=int}
```

View File

@ -0,0 +1,43 @@
---
title: chatForbidden
description: chatForbidden attributes, type and example
---
## Constructor: chatForbidden
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[int](../types/int.md) | Yes|
|title|[string](../types/string.md) | Yes|
### Type: [Chat](../types/Chat.md)
### Example:
```
$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatForbidden", "id": int, "title": "string"}
```
Or, if you're into Lua:
```
chatForbidden={_='chatForbidden', id=int, title='string'}
```

View File

@ -0,0 +1,47 @@
---
title: chatFull
description: chatFull attributes, type and example
---
## Constructor: chatFull
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[int](../types/int.md) | Yes|
|participants|[ChatParticipants](../types/ChatParticipants.md) | Yes|
|chat\_photo|[Photo](../types/Photo.md) | Yes|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Yes|
### Type: [ChatFull](../types/ChatFull.md)
### Example:
```
$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]}
```
Or, if you're into Lua:
```
chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}}
```

View File

@ -0,0 +1,49 @@
---
title: chatInvite
description: chatInvite attributes, type and example
---
## Constructor: chatInvite
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|channel|[Bool](../types/Bool.md) | Optional|
|broadcast|[Bool](../types/Bool.md) | Optional|
|public|[Bool](../types/Bool.md) | Optional|
|megagroup|[Bool](../types/Bool.md) | Optional|
|title|[string](../types/string.md) | Yes|
|photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
|participants\_count|[int](../types/int.md) | Yes|
|participants|Array of [User](../types/User.md) | Optional|
### Type: [ChatInvite](../types/ChatInvite.md)
### Example:
```
$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatInvite", "channel": Bool, "broadcast": Bool, "public": Bool, "megagroup": Bool, "title": "string", "photo": ChatPhoto, "participants_count": int, "participants": [User]}
```
Or, if you're into Lua:
```
chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=ChatPhoto, participants_count=int, participants={User}}
```

View File

@ -0,0 +1,42 @@
---
title: chatInviteAlready
description: chatInviteAlready attributes, type and example
---
## Constructor: chatInviteAlready
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|chat|[Chat](../types/Chat.md) | Yes|
### Type: [ChatInvite](../types/ChatInvite.md)
### Example:
```
$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatInviteAlready", "chat": Chat}
```
Or, if you're into Lua:
```
chatInviteAlready={_='chatInviteAlready', chat=Chat}
```

View File

@ -0,0 +1,37 @@
---
title: chatInviteEmpty
description: chatInviteEmpty attributes, type and example
---
## Constructor: chatInviteEmpty
[Back to constructors index](index.md)
### Type: [ExportedChatInvite](../types/ExportedChatInvite.md)
### Example:
```
$chatInviteEmpty = ['_' => 'chatInviteEmpty'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatInviteEmpty"}
```
Or, if you're into Lua:
```
chatInviteEmpty={_='chatInviteEmpty'}
```

View File

@ -0,0 +1,42 @@
---
title: chatInviteExported
description: chatInviteExported attributes, type and example
---
## Constructor: chatInviteExported
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|link|[string](../types/string.md) | Yes|
### Type: [ExportedChatInvite](../types/ExportedChatInvite.md)
### Example:
```
$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatInviteExported", "link": "string"}
```
Or, if you're into Lua:
```
chatInviteExported={_='chatInviteExported', link='string'}
```

View File

@ -0,0 +1,44 @@
---
title: chatParticipant
description: chatParticipant attributes, type and example
---
## Constructor: chatParticipant
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Yes|
|inviter\_id|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
### Type: [ChatParticipant](../types/ChatParticipant.md)
### Example:
```
$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatParticipant", "user_id": int, "inviter_id": int, "date": int}
```
Or, if you're into Lua:
```
chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int}
```

View File

@ -0,0 +1,44 @@
---
title: chatParticipantAdmin
description: chatParticipantAdmin attributes, type and example
---
## Constructor: chatParticipantAdmin
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Yes|
|inviter\_id|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
### Type: [ChatParticipant](../types/ChatParticipant.md)
### Example:
```
$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int}
```
Or, if you're into Lua:
```
chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int}
```

View File

@ -0,0 +1,42 @@
---
title: chatParticipantCreator
description: chatParticipantCreator attributes, type and example
---
## Constructor: chatParticipantCreator
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Yes|
### Type: [ChatParticipant](../types/ChatParticipant.md)
### Example:
```
$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatParticipantCreator", "user_id": int}
```
Or, if you're into Lua:
```
chatParticipantCreator={_='chatParticipantCreator', user_id=int}
```

View File

@ -0,0 +1,44 @@
---
title: chatParticipants
description: chatParticipants attributes, type and example
---
## Constructor: chatParticipants
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|chat\_id|[int](../types/int.md) | Yes|
|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Yes|
|version|[int](../types/int.md) | Yes|
### Type: [ChatParticipants](../types/ChatParticipants.md)
### Example:
```
$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int}
```
Or, if you're into Lua:
```
chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int}
```

View File

@ -0,0 +1,43 @@
---
title: chatParticipantsForbidden
description: chatParticipantsForbidden attributes, type and example
---
## Constructor: chatParticipantsForbidden
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|chat\_id|[int](../types/int.md) | Yes|
|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional|
### Type: [ChatParticipants](../types/ChatParticipants.md)
### Example:
```
$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatParticipantsForbidden", "chat_id": int, "self_participant": ChatParticipant}
```
Or, if you're into Lua:
```
chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant}
```

View File

@ -0,0 +1,43 @@
---
title: chatPhoto
description: chatPhoto attributes, type and example
---
## Constructor: chatPhoto
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|photo\_small|[FileLocation](../types/FileLocation.md) | Yes|
|photo\_big|[FileLocation](../types/FileLocation.md) | Yes|
### Type: [ChatPhoto](../types/ChatPhoto.md)
### Example:
```
$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatPhoto", "photo_small": FileLocation, "photo_big": FileLocation}
```
Or, if you're into Lua:
```
chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation}
```

View File

@ -0,0 +1,37 @@
---
title: chatPhotoEmpty
description: chatPhotoEmpty attributes, type and example
---
## Constructor: chatPhotoEmpty
[Back to constructors index](index.md)
### Type: [ChatPhoto](../types/ChatPhoto.md)
### Example:
```
$chatPhotoEmpty = ['_' => 'chatPhotoEmpty'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatPhotoEmpty"}
```
Or, if you're into Lua:
```
chatPhotoEmpty={_='chatPhotoEmpty'}
```

View File

@ -0,0 +1,45 @@
---
title: client_DH_inner_data
description: client_DH_inner_data attributes, type and example
---
## Constructor: client\_DH\_inner\_data
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|nonce|[int128](../types/int128.md) | Yes|
|server\_nonce|[int128](../types/int128.md) | Yes|
|retry\_id|[long](../types/long.md) | Yes|
|g\_b|[string](../types/string.md) | Yes|
### Type: [Client\_DH\_Inner\_Data](../types/Client_DH_Inner_Data.md)
### Example:
```
$client_DH_inner_data = ['_' => 'client_DH_inner_data', 'nonce' => int128, 'server_nonce' => int128, 'retry_id' => long, 'g_b' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "client_DH_inner_data", "nonce": int128, "server_nonce": int128, "retry_id": long, "g_b": "string"}
```
Or, if you're into Lua:
```
client_DH_inner_data={_='client_DH_inner_data', nonce=int128, server_nonce=int128, retry_id=long, g_b='string'}
```

View File

@ -0,0 +1,73 @@
---
title: config
description: config attributes, type and example
---
## Constructor: config
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|phonecalls\_enabled|[Bool](../types/Bool.md) | Optional|
|date|[int](../types/int.md) | Yes|
|expires|[int](../types/int.md) | Yes|
|test\_mode|[Bool](../types/Bool.md) | Yes|
|this\_dc|[int](../types/int.md) | Yes|
|dc\_options|Array of [DcOption](../types/DcOption.md) | Yes|
|chat\_size\_max|[int](../types/int.md) | Yes|
|megagroup\_size\_max|[int](../types/int.md) | Yes|
|forwarded\_count\_max|[int](../types/int.md) | Yes|
|online\_update\_period\_ms|[int](../types/int.md) | Yes|
|offline\_blur\_timeout\_ms|[int](../types/int.md) | Yes|
|offline\_idle\_timeout\_ms|[int](../types/int.md) | Yes|
|online\_cloud\_timeout\_ms|[int](../types/int.md) | Yes|
|notify\_cloud\_delay\_ms|[int](../types/int.md) | Yes|
|notify\_default\_delay\_ms|[int](../types/int.md) | Yes|
|chat\_big\_size|[int](../types/int.md) | Yes|
|push\_chat\_period\_ms|[int](../types/int.md) | Yes|
|push\_chat\_limit|[int](../types/int.md) | Yes|
|saved\_gifs\_limit|[int](../types/int.md) | Yes|
|edit\_time\_limit|[int](../types/int.md) | Yes|
|rating\_e\_decay|[int](../types/int.md) | Yes|
|stickers\_recent\_limit|[int](../types/int.md) | Yes|
|tmp\_sessions|[int](../types/int.md) | Optional|
|pinned\_dialogs\_count\_max|[int](../types/int.md) | Yes|
|call\_receive\_timeout\_ms|[int](../types/int.md) | Yes|
|call\_ring\_timeout\_ms|[int](../types/int.md) | Yes|
|call\_connect\_timeout\_ms|[int](../types/int.md) | Yes|
|call\_packet\_timeout\_ms|[int](../types/int.md) | Yes|
|me\_url\_prefix|[string](../types/string.md) | Yes|
|suggested\_lang\_code|[string](../types/string.md) | Optional|
|lang\_pack\_version|[int](../types/int.md) | Optional|
|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Yes|
### Type: [Config](../types/Config.md)
### Example:
```
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'disabled_features' => [DisabledFeature]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "config", "phonecalls_enabled": Bool, "date": int, "expires": int, "test_mode": Bool, "this_dc": int, "dc_options": [DcOption], "chat_size_max": int, "megagroup_size_max": int, "forwarded_count_max": int, "online_update_period_ms": int, "offline_blur_timeout_ms": int, "offline_idle_timeout_ms": int, "online_cloud_timeout_ms": int, "notify_cloud_delay_ms": int, "notify_default_delay_ms": int, "chat_big_size": int, "push_chat_period_ms": int, "push_chat_limit": int, "saved_gifs_limit": int, "edit_time_limit": int, "rating_e_decay": int, "stickers_recent_limit": int, "tmp_sessions": int, "pinned_dialogs_count_max": int, "call_receive_timeout_ms": int, "call_ring_timeout_ms": int, "call_connect_timeout_ms": int, "call_packet_timeout_ms": int, "me_url_prefix": "string", "suggested_lang_code": "string", "lang_pack_version": int, "disabled_features": [DisabledFeature]}
```
Or, if you're into Lua:
```
config={_='config', phonecalls_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', suggested_lang_code='string', lang_pack_version=int, disabled_features={DisabledFeature}}
```

View File

@ -0,0 +1,43 @@
---
title: contact
description: contact attributes, type and example
---
## Constructor: contact
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Yes|
|mutual|[Bool](../types/Bool.md) | Yes|
### Type: [Contact](../types/Contact.md)
### Example:
```
$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "contact", "user_id": int, "mutual": Bool}
```
Or, if you're into Lua:
```
contact={_='contact', user_id=int, mutual=Bool}
```

View File

@ -0,0 +1,43 @@
---
title: contactBlocked
description: contactBlocked attributes, type and example
---
## Constructor: contactBlocked
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
### Type: [ContactBlocked](../types/ContactBlocked.md)
### Example:
```
$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "contactBlocked", "user_id": int, "date": int}
```
Or, if you're into Lua:
```
contactBlocked={_='contactBlocked', user_id=int, date=int}
```

View File

@ -0,0 +1,37 @@
---
title: contactLinkContact
description: contactLinkContact attributes, type and example
---
## Constructor: contactLinkContact
[Back to constructors index](index.md)
### Type: [ContactLink](../types/ContactLink.md)
### Example:
```
$contactLinkContact = ['_' => 'contactLinkContact'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "contactLinkContact"}
```
Or, if you're into Lua:
```
contactLinkContact={_='contactLinkContact'}
```

View File

@ -0,0 +1,37 @@
---
title: contactLinkHasPhone
description: contactLinkHasPhone attributes, type and example
---
## Constructor: contactLinkHasPhone
[Back to constructors index](index.md)
### Type: [ContactLink](../types/ContactLink.md)
### Example:
```
$contactLinkHasPhone = ['_' => 'contactLinkHasPhone'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "contactLinkHasPhone"}
```
Or, if you're into Lua:
```
contactLinkHasPhone={_='contactLinkHasPhone'}
```

Some files were not shown because too many files have changed in this diff Show More