commit
f86f1950f7
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: accessPointRule
|
||||
description: accessPointRule attributes, type and example
|
||||
description: Access point rule
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: accessPointRule
|
||||
@ -8,13 +8,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Access point rule
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|phone\_prefix\_rules|[string](../types/string.md) | Yes|
|
||||
|dc\_id|[int](../types/int.md) | Yes|
|
||||
|ips|Array of [IpPort](../types/IpPort.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|phone\_prefix\_rules|[string](../types/string.md) | Yes|Phone prefix rules|
|
||||
|dc\_id|[int](../types/int.md) | Yes|DC ID|
|
||||
|ips|Array of [IpPort](../types/IpPort.md) | Yes|Ips|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: accountDaysTTL
|
||||
description: accountDaysTTL attributes, type and example
|
||||
description: Account TTL in days
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: accountDaysTTL
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Account TTL in days
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|days|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|days|[int](../types/int.md) | Yes|Days|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: account.authorizationForm
|
||||
description: account_authorizationForm attributes, type and example
|
||||
description: Telegram passport authorization form
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.authorizationForm
|
||||
@ -8,16 +8,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Telegram passport authorization form
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|selfie\_required|[Bool](../types/Bool.md) | Optional|
|
||||
|required\_types|Array of [SecureValueType](../types/SecureValueType.md) | Yes|
|
||||
|values|Array of [SecureValue](../types/SecureValue.md) | Yes|
|
||||
|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|
|
||||
|users|Array of [User](../types/User.md) | Yes|
|
||||
|privacy\_policy\_url|[string](../types/string.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types|
|
||||
|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values|
|
||||
|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors|
|
||||
|users|Array of [User](../types/User.md) | Yes|Users|
|
||||
|privacy\_policy\_url|[string](../types/string.md) | Optional|Privacy policy URL|
|
||||
|
||||
|
||||
|
||||
@ -27,20 +28,20 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```php
|
||||
$account_authorizationForm = ['_' => 'account.authorizationForm', 'selfie_required' => Bool, 'required_types' => [SecureValueType, SecureValueType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string'];
|
||||
$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.authorizationForm", "selfie_required": Bool, "required_types": [SecureValueType], "values": [SecureValue], "errors": [SecureValueError], "users": [User], "privacy_policy_url": "string"}
|
||||
{"_": "account.authorizationForm", "required_types": [SecureRequiredType], "values": [SecureValue], "errors": [SecureValueError], "users": [User], "privacy_policy_url": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```lua
|
||||
account_authorizationForm={_='account.authorizationForm', selfie_required=Bool, required_types={SecureValueType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'}
|
||||
account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'}
|
||||
|
||||
```
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: account.authorizations
|
||||
description: account_authorizations attributes, type and example
|
||||
description: Authorized clients for this account
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.authorizations
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Authorized clients for this account
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: account.password
|
||||
description: account_password attributes, type and example
|
||||
description: Password
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.password
|
||||
@ -8,18 +8,23 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Password
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|has\_recovery|[Bool](../types/Bool.md) | Optional|
|
||||
|has\_secure\_values|[Bool](../types/Bool.md) | Optional|
|
||||
|current\_salt|[bytes](../types/bytes.md) | Yes|
|
||||
|new\_salt|[bytes](../types/bytes.md) | Yes|
|
||||
|new\_secure\_salt|[bytes](../types/bytes.md) | Yes|
|
||||
|secure\_random|[bytes](../types/bytes.md) | Yes|
|
||||
|hint|[string](../types/string.md) | Yes|
|
||||
|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|has\_recovery|[Bool](../types/Bool.md) | Optional|Has recovery?|
|
||||
|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Has secure values?|
|
||||
|has\_password|[Bool](../types/Bool.md) | Optional|Has password?|
|
||||
|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|Current algo|
|
||||
|srp\_B|[bytes](../types/bytes.md) | Optional|Srp b|
|
||||
|srp\_id|[long](../types/long.md) | Optional|Srp ID|
|
||||
|hint|[string](../types/string.md) | Optional|Hint|
|
||||
|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|Email unconfirmed pattern|
|
||||
|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|New algo|
|
||||
|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|New secure algo|
|
||||
|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random|
|
||||
|
||||
|
||||
|
||||
@ -29,20 +34,20 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```php
|
||||
$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'hint' => 'string', 'email_unconfirmed_pattern' => 'string'];
|
||||
$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.password", "has_recovery": Bool, "has_secure_values": Bool, "current_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "new_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "new_secure_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secure_random": {"_": "bytes", "bytes":"base64 encoded bytes"}, "hint": "string", "email_unconfirmed_pattern": "string"}
|
||||
{"_": "account.password", "has_recovery": Bool, "has_secure_values": Bool, "has_password": Bool, "current_algo": PasswordKdfAlgo, "srp_B": {"_": "bytes", "bytes":"base64 encoded bytes"}, "srp_id": long, "hint": "string", "email_unconfirmed_pattern": "string", "new_algo": PasswordKdfAlgo, "new_secure_algo": SecurePasswordKdfAlgo, "secure_random": {"_": "bytes", "bytes":"base64 encoded bytes"}}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```lua
|
||||
account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, current_salt='bytes', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', hint='string', email_unconfirmed_pattern='string'}
|
||||
account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'}
|
||||
|
||||
```
|
||||
|
||||
|
@ -14,13 +14,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|new\_salt|[bytes](../types/bytes.md) | Optional|`$new_salt = $MadelineProto->account->getPassword()['new_salt'].$MadelineProto->random(8);`|
|
||||
|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|New algo|
|
||||
|new\_password\_hash|[bytes](../types/bytes.md) | Optional|`hash('sha256', $new_salt.$new_password.$new_salt, true)`|
|
||||
|hint|[string](../types/string.md) | Optional||
|
||||
|email|[string](../types/string.md) | Optional||
|
||||
|new\_secure\_salt|[bytes](../types/bytes.md) | Optional||
|
||||
|new\_secure\_secret|[bytes](../types/bytes.md) | Optional||
|
||||
|new\_secure\_secret\_id|[long](../types/long.md) | Optional||
|
||||
|hint|[string](../types/string.md) | Optional|Hint|
|
||||
|email|[string](../types/string.md) | Optional|Email|
|
||||
|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|New secure settings|
|
||||
|
||||
|
||||
|
||||
@ -30,20 +28,20 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```php
|
||||
$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_salt' => 'bytes', 'new_secure_secret' => 'bytes', 'new_secure_secret_id' => long];
|
||||
$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.passwordInputSettings", "new_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "new_password_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "hint": "string", "email": "string", "new_secure_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "new_secure_secret": {"_": "bytes", "bytes":"base64 encoded bytes"}, "new_secure_secret_id": long}
|
||||
{"_": "account.passwordInputSettings", "new_algo": PasswordKdfAlgo, "new_password_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "hint": "string", "email": "string", "new_secure_settings": SecureSecretSettings}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```lua
|
||||
account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string', new_secure_salt='bytes', new_secure_secret='bytes', new_secure_secret_id=long}
|
||||
account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings}
|
||||
|
||||
```
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: account.passwordSettings
|
||||
description: account_passwordSettings attributes, type and example
|
||||
description: Password settings
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.passwordSettings
|
||||
@ -8,14 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Password settings
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|email|[string](../types/string.md) | Yes|
|
||||
|secure\_salt|[bytes](../types/bytes.md) | Yes|
|
||||
|secure\_secret|[bytes](../types/bytes.md) | Yes|
|
||||
|secure\_secret\_id|[long](../types/long.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|email|[string](../types/string.md) | Optional|Email|
|
||||
|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Secure settings|
|
||||
|
||||
|
||||
|
||||
@ -25,20 +25,20 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```php
|
||||
$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long];
|
||||
$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.passwordSettings", "email": "string", "secure_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secure_secret": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secure_secret_id": long}
|
||||
{"_": "account.passwordSettings", "email": "string", "secure_settings": SecureSecretSettings}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```lua
|
||||
account_passwordSettings={_='account.passwordSettings', email='string', secure_salt='bytes', secure_secret='bytes', secure_secret_id=long}
|
||||
account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings}
|
||||
|
||||
```
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: account.privacyRules
|
||||
description: account_privacyRules attributes, type and example
|
||||
description: Privacy rules
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.privacyRules
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Privacy rules
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|
|
||||
|users|Array of [User](../types/User.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules|
|
||||
|users|Array of [User](../types/User.md) | Yes|Users|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: account.sentEmailCode
|
||||
description: account_sentEmailCode attributes, type and example
|
||||
description: Sent email code
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.sentEmailCode
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Sent email code
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|email\_pattern|[string](../types/string.md) | Yes|
|
||||
|length|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|email\_pattern|[string](../types/string.md) | Yes|Email pattern|
|
||||
|length|[int](../types/int.md) | Yes|Length|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: account.takeout
|
||||
description: account_takeout attributes, type and example
|
||||
description: Takeout
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.takeout
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Takeout
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|id|[long](../types/long.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|id|[long](../types/long.md) | Yes|ID|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: account.tmpPassword
|
||||
description: account_tmpPassword attributes, type and example
|
||||
description: Tmp password
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.tmpPassword
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Tmp password
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|tmp\_password|[bytes](../types/bytes.md) | Yes|
|
||||
|valid\_until|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|tmp\_password|[bytes](../types/bytes.md) | Yes|Tmp password|
|
||||
|valid\_until|[int](../types/int.md) | Yes|Valid until|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: account.webAuthorizations
|
||||
description: account_webAuthorizations attributes, type and example
|
||||
description: Telegram login authorizations
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.webAuthorizations
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Telegram login authorizations
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|
|
||||
|users|Array of [User](../types/User.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations|
|
||||
|users|Array of [User](../types/User.md) | Yes|Users|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: auth.authorization
|
||||
description: auth_authorization attributes, type and example
|
||||
description: Authorization
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: auth.authorization
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Authorization
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|tmp\_sessions|[int](../types/int.md) | Optional|
|
||||
|user|[User](../types/User.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|tmp\_sessions|[int](../types/int.md) | Optional|Temporary sessions|
|
||||
|user|[User](../types/User.md) | Optional|User|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: auth.checkedPhone
|
||||
description: auth_checkedPhone attributes, type and example
|
||||
description: Checked phone
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: auth.checkedPhone
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Checked phone
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|phone\_registered|[Bool](../types/Bool.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: auth.codeTypeCall
|
||||
description: auth_codeTypeCall attributes, type and example
|
||||
description: Auth code type: call
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: auth.codeTypeCall
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Auth code type: call
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: auth.codeTypeFlashCall
|
||||
description: auth_codeTypeFlashCall attributes, type and example
|
||||
description: Auth code type: flash call
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: auth.codeTypeFlashCall
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Auth code type: flash call
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: auth.codeTypeSms
|
||||
description: auth_codeTypeSms attributes, type and example
|
||||
description: Auth code type: SMS
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: auth.codeTypeSms
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Auth code type: SMS
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: auth.exportedAuthorization
|
||||
description: auth_exportedAuthorization attributes, type and example
|
||||
description: Exported authorization
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: auth.exportedAuthorization
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Exported authorization
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|id|[int](../types/int.md) | Yes|
|
||||
|bytes|[bytes](../types/bytes.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|id|[int](../types/int.md) | Yes|ID|
|
||||
|bytes|[bytes](../types/bytes.md) | Yes|Bytes|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: auth.passwordRecovery
|
||||
description: auth_passwordRecovery attributes, type and example
|
||||
description: Password recovery
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: auth.passwordRecovery
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Password recovery
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|email\_pattern|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|email\_pattern|[string](../types/string.md) | Yes|Email pattern|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: auth.sentCode
|
||||
description: auth_sentCode attributes, type and example
|
||||
description: Sent code
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: auth.sentCode
|
||||
@ -8,16 +8,18 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Sent code
|
||||
|
||||
### 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|
|
||||
|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?|
|
||||
|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Type|
|
||||
|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash|
|
||||
|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Next type|
|
||||
|timeout|[int](../types/int.md) | Optional|Timeout|
|
||||
|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Terms of service|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: auth.sentCodeTypeApp
|
||||
description: auth_sentCodeTypeApp attributes, type and example
|
||||
description: Sent code type app
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: auth.sentCodeTypeApp
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Sent code type app
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|length|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|length|[int](../types/int.md) | Yes|Length|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: auth.sentCodeTypeCall
|
||||
description: auth_sentCodeTypeCall attributes, type and example
|
||||
description: Sent code type call
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: auth.sentCodeTypeCall
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Sent code type call
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|length|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|length|[int](../types/int.md) | Yes|Length|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: auth.sentCodeTypeFlashCall
|
||||
description: auth_sentCodeTypeFlashCall attributes, type and example
|
||||
description: Sent code type flash call
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: auth.sentCodeTypeFlashCall
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Sent code type flash call
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|pattern|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|pattern|[string](../types/string.md) | Yes|Pattern|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: auth.sentCodeTypeSms
|
||||
description: auth_sentCodeTypeSms attributes, type and example
|
||||
description: Sent code type sms
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: auth.sentCodeTypeSms
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Sent code type sms
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|length|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|length|[int](../types/int.md) | Yes|Length|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: authorization
|
||||
description: authorization attributes, type and example
|
||||
description: Authorization
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: authorization
|
||||
@ -8,22 +8,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Authorization
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|current|[Bool](../types/Bool.md) | Optional|Current?|
|
||||
|official\_app|[Bool](../types/Bool.md) | Optional|Official app?|
|
||||
|password\_pending|[Bool](../types/Bool.md) | Optional|Password pending?|
|
||||
|hash|[long](../types/long.md) | Yes|Hash|
|
||||
|device\_model|[string](../types/string.md) | Yes|Device model|
|
||||
|platform|[string](../types/string.md) | Yes|Platform|
|
||||
|system\_version|[string](../types/string.md) | Yes|System version|
|
||||
|api\_id|[int](../types/int.md) | Yes|Api ID|
|
||||
|app\_name|[string](../types/string.md) | Yes|App name|
|
||||
|app\_version|[string](../types/string.md) | Yes|App version|
|
||||
|date\_created|[int](../types/int.md) | Yes|Date created|
|
||||
|date\_active|[int](../types/int.md) | Yes|Date active|
|
||||
|ip|[string](../types/string.md) | Yes|Ip|
|
||||
|country|[string](../types/string.md) | Yes|Country|
|
||||
|region|[string](../types/string.md) | Yes|Region|
|
||||
|
||||
|
||||
|
||||
@ -33,20 +38,20 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```php
|
||||
$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'];
|
||||
$authorization = ['_' => 'authorization', 'current' => Bool, 'official_app' => Bool, 'password_pending' => Bool, '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"}
|
||||
{"_": "authorization", "current": Bool, "official_app": Bool, "password_pending": Bool, "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:
|
||||
|
||||
```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'}
|
||||
authorization={_='authorization', current=Bool, official_app=Bool, password_pending=Bool, 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'}
|
||||
|
||||
```
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: botInfo
|
||||
description: botInfo attributes, type and example
|
||||
description: Bot info
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: botInfo
|
||||
@ -8,13 +8,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Bot info
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|description|[string](../types/string.md) | Yes|Description|
|
||||
|commands|Array of [BotCommand](../types/BotCommand.md) | Yes|Commands|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: botInlineMediaResult
|
||||
description: botInlineMediaResult attributes, type and example
|
||||
description: Bot inline media result
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: botInlineMediaResult
|
||||
@ -8,17 +8,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Bot inline media result
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|id|[string](../types/string.md) | Yes|ID|
|
||||
|type|[string](../types/string.md) | Yes|Type|
|
||||
|photo|[Photo](../types/Photo.md) | Optional|Photo|
|
||||
|document|[Document](../types/Document.md) | Optional|Document|
|
||||
|title|[string](../types/string.md) | Optional|Title|
|
||||
|description|[string](../types/string.md) | Optional|Description|
|
||||
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|Send message|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: botInlineMessageMediaAuto
|
||||
description: botInlineMessageMediaAuto attributes, type and example
|
||||
description: Bot inline message media auto
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: botInlineMessageMediaAuto
|
||||
@ -8,13 +8,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Bot inline message media auto
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|message|[string](../types/string.md) | Yes|
|
||||
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|message|[string](../types/string.md) | Yes|Message|
|
||||
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|Reply markup|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: botInlineMessageMediaContact
|
||||
description: botInlineMessageMediaContact attributes, type and example
|
||||
description: Bot inline message media contact
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: botInlineMessageMediaContact
|
||||
@ -8,15 +8,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Bot inline message media contact
|
||||
|
||||
### 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|
|
||||
|vcard|[string](../types/string.md) | Yes|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|phone\_number|[string](../types/string.md) | Yes|Phone number|
|
||||
|first\_name|[string](../types/string.md) | Yes|First name|
|
||||
|last\_name|[string](../types/string.md) | Yes|Last name|
|
||||
|vcard|[string](../types/string.md) | Yes|Vcard|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|Reply markup|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: botInlineMessageMediaGeo
|
||||
description: botInlineMessageMediaGeo attributes, type and example
|
||||
description: Bot inline message media geo
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: botInlineMessageMediaGeo
|
||||
@ -8,13 +8,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Bot inline message media geo
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|geo|[GeoPoint](../types/GeoPoint.md) | Optional|
|
||||
|period|[int](../types/int.md) | Yes|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|geo|[GeoPoint](../types/GeoPoint.md) | Optional|Geo|
|
||||
|period|[int](../types/int.md) | Yes|Period|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|Reply markup|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: botInlineMessageMediaVenue
|
||||
description: botInlineMessageMediaVenue attributes, type and example
|
||||
description: Bot inline message media venue
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: botInlineMessageMediaVenue
|
||||
@ -8,17 +8,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Bot inline message media venue
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|geo|[GeoPoint](../types/GeoPoint.md) | Optional|
|
||||
|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|
|
||||
|venue\_type|[string](../types/string.md) | Yes|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|geo|[GeoPoint](../types/GeoPoint.md) | Optional|Geo|
|
||||
|title|[string](../types/string.md) | Yes|Title|
|
||||
|address|[string](../types/string.md) | Yes|Address|
|
||||
|provider|[string](../types/string.md) | Yes|Provider|
|
||||
|venue\_id|[string](../types/string.md) | Yes|Venue ID|
|
||||
|venue\_type|[string](../types/string.md) | Yes|Venue type|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|Reply markup|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: botInlineMessageText
|
||||
description: botInlineMessageText attributes, type and example
|
||||
description: Bot inline message text
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: botInlineMessageText
|
||||
@ -8,14 +8,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Bot inline message text
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|no\_webpage|[Bool](../types/Bool.md) | Optional|No webpage?|
|
||||
|message|[string](../types/string.md) | Yes|Message|
|
||||
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|Reply markup|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: botInlineResult
|
||||
description: botInlineResult attributes, type and example
|
||||
description: Bot inline result
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: botInlineResult
|
||||
@ -8,18 +8,20 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Bot inline result
|
||||
|
||||
### 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|[WebDocument](../types/WebDocument.md) | Optional|
|
||||
|content|[WebDocument](../types/WebDocument.md) | Optional|
|
||||
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|id|[string](../types/string.md) | Yes|ID|
|
||||
|type|[string](../types/string.md) | Yes|Type|
|
||||
|title|[string](../types/string.md) | Optional|Title|
|
||||
|description|[string](../types/string.md) | Optional|Description|
|
||||
|url|[string](../types/string.md) | Optional|URL|
|
||||
|thumb|[WebDocument](../types/WebDocument.md) | Optional|Thumbnailnail|
|
||||
|content|[WebDocument](../types/WebDocument.md) | Optional|Content|
|
||||
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|Message to send|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: cdnConfig
|
||||
description: cdnConfig attributes, type and example
|
||||
description: CDN configuration
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: cdnConfig
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
CDN configuration
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|public\_keys|Array of [CdnPublicKey](../types/CdnPublicKey.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|public\_keys|Array of [CdnPublicKey](../types/CdnPublicKey.md) | Yes|Public keys|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: cdnPublicKey
|
||||
description: cdnPublicKey attributes, type and example
|
||||
description: Cdn public key
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: cdnPublicKey
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Cdn public key
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|dc\_id|[int](../types/int.md) | Yes|
|
||||
|public\_key|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|dc\_id|[int](../types/int.md) | Yes|DC ID|
|
||||
|public\_key|[string](../types/string.md) | Yes|Public key|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channel
|
||||
description: channel attributes, type and example
|
||||
description: Channel
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channel
|
||||
@ -8,31 +8,33 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|creator|[Bool](../types/Bool.md) | Optional|
|
||||
|left|[Bool](../types/Bool.md) | Optional|
|
||||
|editor|[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) | Optional|
|
||||
|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|
|
||||
|participants\_count|[int](../types/int.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|creator|[Bool](../types/Bool.md) | Optional|Creator?|
|
||||
|left|[Bool](../types/Bool.md) | Optional|Left?|
|
||||
|editor|[Bool](../types/Bool.md) | Optional|Editor?|
|
||||
|broadcast|[Bool](../types/Bool.md) | Optional|Broadcast?|
|
||||
|verified|[Bool](../types/Bool.md) | Optional|Verified?|
|
||||
|megagroup|[Bool](../types/Bool.md) | Optional|Megagroup?|
|
||||
|restricted|[Bool](../types/Bool.md) | Optional|Restricted?|
|
||||
|democracy|[Bool](../types/Bool.md) | Optional|Democracy?|
|
||||
|signatures|[Bool](../types/Bool.md) | Optional|Signatures?|
|
||||
|min|[Bool](../types/Bool.md) | Optional|Min?|
|
||||
|id|[int](../types/int.md) | Yes|ID|
|
||||
|access\_hash|[long](../types/long.md) | Optional|Access hash|
|
||||
|title|[string](../types/string.md) | Yes|Title|
|
||||
|username|[string](../types/string.md) | Optional|Username|
|
||||
|photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|Photo|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|version|[int](../types/int.md) | Yes|Version|
|
||||
|restriction\_reason|[string](../types/string.md) | Optional|Restriction reason|
|
||||
|admin\_rights|[ChannelAdminRights](../types/ChannelAdminRights.md) | Optional|Admin rights|
|
||||
|banned\_rights|[ChannelBannedRights](../types/ChannelBannedRights.md) | Optional|Banned rights|
|
||||
|participants\_count|[int](../types/int.md) | Optional|Participants count|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEvent
|
||||
description: channelAdminLogEvent attributes, type and example
|
||||
description: Channel admin log event
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEvent
|
||||
@ -8,14 +8,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel admin log event
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|id|[long](../types/long.md) | Yes|ID|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|action|[ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md) | Yes|Action|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionChangeAbout
|
||||
description: channelAdminLogEventActionChangeAbout attributes, type and example
|
||||
description: Change about text
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionChangeAbout
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Change about text
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|prev\_value|[string](../types/string.md) | Yes|
|
||||
|new\_value|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|prev\_value|[string](../types/string.md) | Yes|Previous value|
|
||||
|new\_value|[string](../types/string.md) | Yes|New value|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionChangePhoto
|
||||
description: channelAdminLogEventActionChangePhoto attributes, type and example
|
||||
description: Change photo
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionChangePhoto
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Change photo
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|prev\_photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|
|
||||
|new\_photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|prev\_photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|Previous photo|
|
||||
|new\_photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|New photo|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionChangeStickerSet
|
||||
description: channelAdminLogEventActionChangeStickerSet attributes, type and example
|
||||
description: Change stickerset
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionChangeStickerSet
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Change stickerset
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|prev\_stickerset|[InputStickerSet](../types/InputStickerSet.md) | Optional|
|
||||
|new\_stickerset|[InputStickerSet](../types/InputStickerSet.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|prev\_stickerset|[InputStickerSet](../types/InputStickerSet.md) | Optional|Previous stickerset|
|
||||
|new\_stickerset|[InputStickerSet](../types/InputStickerSet.md) | Optional|New stickerset|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionChangeTitle
|
||||
description: channelAdminLogEventActionChangeTitle attributes, type and example
|
||||
description: Change title
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionChangeTitle
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Change title
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|prev\_value|[string](../types/string.md) | Yes|
|
||||
|new\_value|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|prev\_value|[string](../types/string.md) | Yes|Previous value|
|
||||
|new\_value|[string](../types/string.md) | Yes|New value|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionChangeUsername
|
||||
description: channelAdminLogEventActionChangeUsername attributes, type and example
|
||||
description: Change username
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionChangeUsername
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Change username
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|prev\_value|[string](../types/string.md) | Yes|
|
||||
|new\_value|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|prev\_value|[string](../types/string.md) | Yes|Prev value|
|
||||
|new\_value|[string](../types/string.md) | Yes|New value|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionDeleteMessage
|
||||
description: channelAdminLogEventActionDeleteMessage attributes, type and example
|
||||
description: Delete message
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionDeleteMessage
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Delete message
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|message|[Message](../types/Message.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|message|[Message](../types/Message.md) | Optional|Message|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionEditMessage
|
||||
description: channelAdminLogEventActionEditMessage attributes, type and example
|
||||
description: Edit message
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionEditMessage
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Edit message
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|prev\_message|[Message](../types/Message.md) | Optional|
|
||||
|new\_message|[Message](../types/Message.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|prev\_message|[Message](../types/Message.md) | Optional|Prev message|
|
||||
|new\_message|[Message](../types/Message.md) | Optional|New message|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionParticipantInvite
|
||||
description: channelAdminLogEventActionParticipantInvite attributes, type and example
|
||||
description: Invite participant
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionParticipantInvite
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Invite participant
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participant|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionParticipantJoin
|
||||
description: channelAdminLogEventActionParticipantJoin attributes, type and example
|
||||
description: Joined participant
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionParticipantJoin
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Joined participant
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionParticipantLeave
|
||||
description: channelAdminLogEventActionParticipantLeave attributes, type and example
|
||||
description: Left participant
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionParticipantLeave
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Left participant
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionParticipantToggleAdmin
|
||||
description: channelAdminLogEventActionParticipantToggleAdmin attributes, type and example
|
||||
description: Admin toggled
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionParticipantToggleAdmin
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Admin toggled
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|prev\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|
||||
|new\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|prev\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|Prev participant|
|
||||
|new\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|New participant|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionParticipantToggleBan
|
||||
description: channelAdminLogEventActionParticipantToggleBan attributes, type and example
|
||||
description: User banned
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionParticipantToggleBan
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
User banned
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|prev\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|
||||
|new\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|prev\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|Prev participant|
|
||||
|new\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|New participant|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionToggleInvites
|
||||
description: channelAdminLogEventActionToggleInvites attributes, type and example
|
||||
description: Invite setting toggled
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionToggleInvites
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Invite setting toggled
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|new\_value|[Bool](../types/Bool.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|new\_value|[Bool](../types/Bool.md) | Yes|New value|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionTogglePreHistoryHidden
|
||||
description: channelAdminLogEventActionTogglePreHistoryHidden attributes, type and example
|
||||
description: Previous history hidden
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionTogglePreHistoryHidden
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Previous history hidden
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|new\_value|[Bool](../types/Bool.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|new\_value|[Bool](../types/Bool.md) | Yes|New value|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionToggleSignatures
|
||||
description: channelAdminLogEventActionToggleSignatures attributes, type and example
|
||||
description: Toggle channel signatures
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionToggleSignatures
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Toggle channel signatures
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|new\_value|[Bool](../types/Bool.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|new\_value|[Bool](../types/Bool.md) | Yes|New value?|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionUpdatePinned
|
||||
description: channelAdminLogEventActionUpdatePinned attributes, type and example
|
||||
description: Message pinned
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionUpdatePinned
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Message pinned
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|message|[Message](../types/Message.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|message|[Message](../types/Message.md) | Optional|Message|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventsFilter
|
||||
description: channelAdminLogEventsFilter attributes, type and example
|
||||
description: Event filter
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventsFilter
|
||||
@ -8,24 +8,26 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Event filter
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|join|[Bool](../types/Bool.md) | Optional|Join users events|
|
||||
|leave|[Bool](../types/Bool.md) | Optional|Left users events|
|
||||
|invite|[Bool](../types/Bool.md) | Optional|Invite users events|
|
||||
|ban|[Bool](../types/Bool.md) | Optional|Ban events|
|
||||
|unban|[Bool](../types/Bool.md) | Optional|Unban events|
|
||||
|kick|[Bool](../types/Bool.md) | Optional|Kicked users events|
|
||||
|unkick|[Bool](../types/Bool.md) | Optional|Unkick events|
|
||||
|promote|[Bool](../types/Bool.md) | Optional|Admin promotion events|
|
||||
|demote|[Bool](../types/Bool.md) | Optional|Demote admin events|
|
||||
|info|[Bool](../types/Bool.md) | Optional|Change info events|
|
||||
|settings|[Bool](../types/Bool.md) | Optional|Setting changes|
|
||||
|pinned|[Bool](../types/Bool.md) | Optional|Pinned message events|
|
||||
|edit|[Bool](../types/Bool.md) | Optional|Edit message events|
|
||||
|delete|[Bool](../types/Bool.md) | Optional|Delete message events|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminRights
|
||||
description: channelAdminRights attributes, type and example
|
||||
description: Admin rights
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminRights
|
||||
@ -8,20 +8,22 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Admin rights
|
||||
|
||||
### 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|
|
||||
|manage\_call|[Bool](../types/Bool.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|change\_info|[Bool](../types/Bool.md) | Optional|Change info|
|
||||
|post\_messages|[Bool](../types/Bool.md) | Optional|Post messages|
|
||||
|edit\_messages|[Bool](../types/Bool.md) | Optional|Edit messages|
|
||||
|delete\_messages|[Bool](../types/Bool.md) | Optional|Delete messages|
|
||||
|ban\_users|[Bool](../types/Bool.md) | Optional|Ban users|
|
||||
|invite\_users|[Bool](../types/Bool.md) | Optional|Invite users|
|
||||
|invite\_link|[Bool](../types/Bool.md) | Optional|Generate an invite link|
|
||||
|pin\_messages|[Bool](../types/Bool.md) | Optional|Pin messages|
|
||||
|add\_admins|[Bool](../types/Bool.md) | Optional|Add other admins|
|
||||
|manage\_call|[Bool](../types/Bool.md) | Optional|Manage group calls|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelBannedRights
|
||||
description: channelBannedRights attributes, type and example
|
||||
description: Banned user rights (when true, the user will NOT be able to do that thing)
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelBannedRights
|
||||
@ -8,19 +8,21 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Banned user rights (when true, the user will NOT be able to do that thing)
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|view\_messages|[Bool](../types/Bool.md) | Optional|Disallow viewing messages|
|
||||
|send\_messages|[Bool](../types/Bool.md) | Optional|Disallow sending messages|
|
||||
|send\_media|[Bool](../types/Bool.md) | Optional|Disallow sending media|
|
||||
|send\_stickers|[Bool](../types/Bool.md) | Optional|Disallow sending stickers|
|
||||
|send\_gifs|[Bool](../types/Bool.md) | Optional|Disallow sending gifs|
|
||||
|send\_games|[Bool](../types/Bool.md) | Optional|Disallow sending games|
|
||||
|send\_inline|[Bool](../types/Bool.md) | Optional|Disallow sending inline keyboards|
|
||||
|embed\_links|[Bool](../types/Bool.md) | Optional|Disallow embedding links|
|
||||
|until\_date|[int](../types/int.md) | Yes|Until date|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelForbidden
|
||||
description: channelForbidden attributes, type and example
|
||||
description: Forbidden channel
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelForbidden
|
||||
@ -8,16 +8,18 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Forbidden channel
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|broadcast|[Bool](../types/Bool.md) | Optional|Broadcast?|
|
||||
|megagroup|[Bool](../types/Bool.md) | Optional|Megagroup?|
|
||||
|id|[int](../types/int.md) | Yes|ID|
|
||||
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
||||
|title|[string](../types/string.md) | Yes|Title|
|
||||
|until\_date|[int](../types/int.md) | Optional|Until date|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelFull
|
||||
description: channelFull attributes, type and example
|
||||
description: Full channel
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelFull
|
||||
@ -8,32 +8,36 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Full channel
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|can\_view\_participants|[Bool](../types/Bool.md) | Optional|
|
||||
|can\_set\_username|[Bool](../types/Bool.md) | Optional|
|
||||
|can\_set\_stickers|[Bool](../types/Bool.md) | Optional|
|
||||
|hidden\_prehistory|[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) | Optional|
|
||||
|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|
|
||||
|stickerset|[StickerSet](../types/StickerSet.md) | Optional|
|
||||
|available\_min\_id|[int](../types/int.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|can\_view\_participants|[Bool](../types/Bool.md) | Optional|Can view participants?|
|
||||
|can\_set\_username|[Bool](../types/Bool.md) | Optional|Can set username?|
|
||||
|can\_set\_stickers|[Bool](../types/Bool.md) | Optional|Can set group stickerset?|
|
||||
|hidden\_prehistory|[Bool](../types/Bool.md) | Optional|Hidden prehistory?|
|
||||
|can\_view\_stats|[Bool](../types/Bool.md) | Optional|Can view stats?|
|
||||
|id|[int](../types/int.md) | Yes|ID|
|
||||
|about|[string](../types/string.md) | Yes|About|
|
||||
|participants\_count|[int](../types/int.md) | Optional|Participants count|
|
||||
|admins\_count|[int](../types/int.md) | Optional|Admins count|
|
||||
|kicked\_count|[int](../types/int.md) | Optional|Kicked count|
|
||||
|banned\_count|[int](../types/int.md) | Optional|Banned count|
|
||||
|online\_count|[int](../types/int.md) | Optional|Online count|
|
||||
|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID|
|
||||
|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID|
|
||||
|unread\_count|[int](../types/int.md) | Yes|Unread count|
|
||||
|chat\_photo|[Photo](../types/Photo.md) | Optional|Chat photo|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notify settings|
|
||||
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|Exported invite|
|
||||
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Yes|Bot info|
|
||||
|migrated\_from\_chat\_id|[int](../types/int.md) | Optional|Migrated from chat ID|
|
||||
|migrated\_from\_max\_id|[int](../types/int.md) | Optional|Migrated from max ID|
|
||||
|pinned\_msg\_id|[int](../types/int.md) | Optional|Pinned msg ID|
|
||||
|stickerset|[StickerSet](../types/StickerSet.md) | Optional|Stickerset|
|
||||
|available\_min\_id|[int](../types/int.md) | Optional|Available min ID|
|
||||
|
||||
|
||||
|
||||
@ -43,20 +47,20 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```php
|
||||
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => 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, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int];
|
||||
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_view_stats' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_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, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelFull", "can_view_participants": Bool, "can_set_username": Bool, "can_set_stickers": Bool, "hidden_prehistory": 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, "stickerset": StickerSet, "available_min_id": int}
|
||||
{"_": "channelFull", "can_view_participants": Bool, "can_set_username": Bool, "can_set_stickers": Bool, "hidden_prehistory": Bool, "can_view_stats": Bool, "id": int, "about": "string", "participants_count": int, "admins_count": int, "kicked_count": int, "banned_count": int, "online_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, "stickerset": StickerSet, "available_min_id": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```lua
|
||||
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=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, stickerset=StickerSet, available_min_id=int}
|
||||
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=Bool, can_view_stats=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_count=int, online_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, stickerset=StickerSet, available_min_id=int}
|
||||
|
||||
```
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelMessagesFilter
|
||||
description: channelMessagesFilter attributes, type and example
|
||||
description: Channel messages filter
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelMessagesFilter
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel messages filter
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional|
|
||||
|ranges|Array of [MessageRange](../types/MessageRange.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional|Exclude new messages?|
|
||||
|ranges|Array of [MessageRange](../types/MessageRange.md) | Yes|Ranges|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelMessagesFilterEmpty
|
||||
description: channelMessagesFilterEmpty attributes, type and example
|
||||
description: Empty channel messages filter
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelMessagesFilterEmpty
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Empty channel messages filter
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelParticipant
|
||||
description: channelParticipant attributes, type and example
|
||||
description: Channel participant
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelParticipant
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participant
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|user\_id|[int](../types/int.md) | Yes|
|
||||
|date|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelParticipantAdmin
|
||||
description: channelParticipantAdmin attributes, type and example
|
||||
description: Channel participant admin
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelParticipantAdmin
|
||||
@ -8,16 +8,18 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participant admin
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|can\_edit|[Bool](../types/Bool.md) | Optional|Can edit?|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|inviter\_id|[int](../types/int.md) | Yes|Inviter ID|
|
||||
|promoted\_by|[int](../types/int.md) | Yes|Promoted by|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|admin\_rights|[ChannelAdminRights](../types/ChannelAdminRights.md) | Yes|Admin rights|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelParticipantBanned
|
||||
description: channelParticipantBanned attributes, type and example
|
||||
description: Channel participant banned
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelParticipantBanned
|
||||
@ -8,15 +8,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participant banned
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|left|[Bool](../types/Bool.md) | Optional|Left?|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|kicked\_by|[int](../types/int.md) | Yes|Kicked by|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|banned\_rights|[ChannelBannedRights](../types/ChannelBannedRights.md) | Yes|Banned rights|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelParticipantCreator
|
||||
description: channelParticipantCreator attributes, type and example
|
||||
description: Channel participant creator
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelParticipantCreator
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participant creator
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|user\_id|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelParticipantSelf
|
||||
description: channelParticipantSelf attributes, type and example
|
||||
description: Channel participant self
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelParticipantSelf
|
||||
@ -8,13 +8,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participant self
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|user\_id|[int](../types/int.md) | Yes|
|
||||
|inviter\_id|[int](../types/int.md) | Yes|
|
||||
|date|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|inviter\_id|[int](../types/int.md) | Yes|Inviter ID|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelParticipantsAdmins
|
||||
description: channelParticipantsAdmins attributes, type and example
|
||||
description: Channel participants admins
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelParticipantsAdmins
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participants admins
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelParticipantsBanned
|
||||
description: channelParticipantsBanned attributes, type and example
|
||||
description: Channel participants banned
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelParticipantsBanned
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participants banned
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|q|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|q|[string](../types/string.md) | Yes|Query|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelParticipantsBots
|
||||
description: channelParticipantsBots attributes, type and example
|
||||
description: Channel participants bots
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelParticipantsBots
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participants bots
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelParticipantsKicked
|
||||
description: channelParticipantsKicked attributes, type and example
|
||||
description: Channel participants kicked
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelParticipantsKicked
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participants kicked
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|q|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|q|[string](../types/string.md) | Yes|Query|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelParticipantsRecent
|
||||
description: channelParticipantsRecent attributes, type and example
|
||||
description: Channel participants recent
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelParticipantsRecent
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participants recent
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelParticipantsSearch
|
||||
description: channelParticipantsSearch attributes, type and example
|
||||
description: Channel participants search
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelParticipantsSearch
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participants search
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|q|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|q|[string](../types/string.md) | Yes|Query|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channels.adminLogResults
|
||||
description: channels_adminLogResults attributes, type and example
|
||||
description: Admin log results
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channels.adminLogResults
|
||||
@ -8,13 +8,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Admin log results
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Events|
|
||||
|chats|Array of [Chat](../types/Chat.md) | Yes|Chats|
|
||||
|users|Array of [User](../types/User.md) | Yes|Users|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channels.channelParticipant
|
||||
description: channels_channelParticipant attributes, type and example
|
||||
description: Channel participant
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channels.channelParticipant
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participant
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|
||||
|users|Array of [User](../types/User.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participant|
|
||||
|users|Array of [User](../types/User.md) | Yes|Users|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channels.channelParticipants
|
||||
description: channels_channelParticipants attributes, type and example
|
||||
description: Channel participants
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channels.channelParticipants
|
||||
@ -8,13 +8,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participants
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|count|[int](../types/int.md) | Yes|Count|
|
||||
|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participants|
|
||||
|users|Array of [User](../types/User.md) | Yes|Users|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channels.channelParticipantsNotModified
|
||||
description: channels_channelParticipantsNotModified attributes, type and example
|
||||
description: Channel participants not modified
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channels.channelParticipantsNotModified
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Channel participants not modified
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chat
|
||||
description: chat attributes, type and example
|
||||
description: Chat
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chat
|
||||
@ -8,23 +8,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Chat
|
||||
|
||||
### 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) | Optional|
|
||||
|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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|creator|[Bool](../types/Bool.md) | Optional|Creator?|
|
||||
|kicked|[Bool](../types/Bool.md) | Optional|Kicked?|
|
||||
|left|[Bool](../types/Bool.md) | Optional|Left?|
|
||||
|admins\_enabled|[Bool](../types/Bool.md) | Optional|Admins enabled?|
|
||||
|admin|[Bool](../types/Bool.md) | Optional|Admin?|
|
||||
|deactivated|[Bool](../types/Bool.md) | Optional|Deactivated?|
|
||||
|id|[int](../types/int.md) | Yes|ID|
|
||||
|title|[string](../types/string.md) | Yes|Title|
|
||||
|photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|Photo|
|
||||
|participants\_count|[int](../types/int.md) | Yes|Participants count|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|version|[int](../types/int.md) | Yes|Version|
|
||||
|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional|Migrated to|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatEmpty
|
||||
description: chatEmpty attributes, type and example
|
||||
description: Empty chat
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatEmpty
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Empty chat
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|id|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|id|[int](../types/int.md) | Yes|ID|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatForbidden
|
||||
description: chatForbidden attributes, type and example
|
||||
description: Chat forbidden
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatForbidden
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Chat forbidden
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|id|[int](../types/int.md) | Yes|
|
||||
|title|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|id|[int](../types/int.md) | Yes|ID|
|
||||
|title|[string](../types/string.md) | Yes|Title|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatFull
|
||||
description: chatFull attributes, type and example
|
||||
description: Chat full
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatFull
|
||||
@ -8,16 +8,19 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Chat full
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|id|[int](../types/int.md) | Yes|
|
||||
|participants|[ChatParticipants](../types/ChatParticipants.md) | Yes|
|
||||
|chat\_photo|[Photo](../types/Photo.md) | Optional|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|
|
||||
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|
|
||||
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|id|[int](../types/int.md) | Yes|ID|
|
||||
|participants|[ChatParticipants](../types/ChatParticipants.md) | Yes|Participants|
|
||||
|chat\_photo|[Photo](../types/Photo.md) | Optional|Chat photo|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notify settings|
|
||||
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|Exported invite|
|
||||
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Optional|Bot info|
|
||||
|pinned\_msg\_id|[int](../types/int.md) | Optional|Pinned msg ID|
|
||||
|
||||
|
||||
|
||||
@ -27,20 +30,20 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```php
|
||||
$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]];
|
||||
$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'pinned_msg_id' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo]}
|
||||
{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [BotInfo], "pinned_msg_id": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```lua
|
||||
chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}}
|
||||
chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, pinned_msg_id=int}
|
||||
|
||||
```
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatInvite
|
||||
description: chatInvite attributes, type and example
|
||||
description: Chat invite
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatInvite
|
||||
@ -8,18 +8,20 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Chat invite
|
||||
|
||||
### 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) | Optional|
|
||||
|participants\_count|[int](../types/int.md) | Yes|
|
||||
|participants|Array of [User](../types/User.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|channel|[Bool](../types/Bool.md) | Optional|Channel?|
|
||||
|broadcast|[Bool](../types/Bool.md) | Optional|Broadcast?|
|
||||
|public|[Bool](../types/Bool.md) | Optional|Public?|
|
||||
|megagroup|[Bool](../types/Bool.md) | Optional|Megagroup?|
|
||||
|title|[string](../types/string.md) | Yes|Title|
|
||||
|photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|Photo|
|
||||
|participants\_count|[int](../types/int.md) | Yes|Participants count|
|
||||
|participants|Array of [User](../types/User.md) | Optional|Participants|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatInviteAlready
|
||||
description: chatInviteAlready attributes, type and example
|
||||
description: Invite of a chat of which I am already member
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatInviteAlready
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Invite of a chat of which I am already member
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|chat|[Chat](../types/Chat.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|chat|[Chat](../types/Chat.md) | Optional|Chat|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatInviteEmpty
|
||||
description: chatInviteEmpty attributes, type and example
|
||||
description: Empty chat invite
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatInviteEmpty
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Empty chat invite
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatInviteExported
|
||||
description: chatInviteExported attributes, type and example
|
||||
description: Exported chat invite
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatInviteExported
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Exported chat invite
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|link|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|link|[string](../types/string.md) | Yes|Link|
|
||||
|
||||
|
||||
|
||||
|
44
docs/API_docs/constructors/chatOnlines.md
Normal file
44
docs/API_docs/constructors/chatOnlines.md
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
title: chatOnlines
|
||||
description: Chat onlines
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatOnlines
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
Chat onlines
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|onlines|[int](../types/int.md) | Yes|Onlines|
|
||||
|
||||
|
||||
|
||||
### Type: [ChatOnlines](../types/ChatOnlines.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```php
|
||||
$chatOnlines = ['_' => 'chatOnlines', 'onlines' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "chatOnlines", "onlines": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```lua
|
||||
chatOnlines={_='chatOnlines', onlines=int}
|
||||
|
||||
```
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatParticipant
|
||||
description: chatParticipant attributes, type and example
|
||||
description: Chat participant
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatParticipant
|
||||
@ -8,13 +8,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Chat participant
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|user\_id|[int](../types/int.md) | Yes|
|
||||
|inviter\_id|[int](../types/int.md) | Yes|
|
||||
|date|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|inviter\_id|[int](../types/int.md) | Yes|Inviter ID|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatParticipantAdmin
|
||||
description: chatParticipantAdmin attributes, type and example
|
||||
description: Chat participant admin
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatParticipantAdmin
|
||||
@ -8,13 +8,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Chat participant admin
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|user\_id|[int](../types/int.md) | Yes|
|
||||
|inviter\_id|[int](../types/int.md) | Yes|
|
||||
|date|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|inviter\_id|[int](../types/int.md) | Yes|Inviter ID|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatParticipantCreator
|
||||
description: chatParticipantCreator attributes, type and example
|
||||
description: Chat participant creator
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatParticipantCreator
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Chat participant creator
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|user\_id|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatParticipants
|
||||
description: chatParticipants attributes, type and example
|
||||
description: Chat participants
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatParticipants
|
||||
@ -8,13 +8,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Chat participants
|
||||
|
||||
### 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|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
||||
|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Yes|Participants|
|
||||
|version|[int](../types/int.md) | Yes|Version|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatParticipantsForbidden
|
||||
description: chatParticipantsForbidden attributes, type and example
|
||||
description: Chat participants forbidden
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatParticipantsForbidden
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Chat participants forbidden
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|chat\_id|[int](../types/int.md) | Yes|
|
||||
|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|
||||
|self\_participant|[ChatParticipant](../types/ChatParticipant.md) | Optional|Self participant|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatPhoto
|
||||
description: chatPhoto attributes, type and example
|
||||
description: Chat photo
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatPhoto
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Chat photo
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|photo\_small|[FileLocation](../types/FileLocation.md) | Yes|
|
||||
|photo\_big|[FileLocation](../types/FileLocation.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|photo\_small|[FileLocation](../types/FileLocation.md) | Yes|Photo small|
|
||||
|photo\_big|[FileLocation](../types/FileLocation.md) | Yes|Photo big|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatPhotoEmpty
|
||||
description: chatPhotoEmpty attributes, type and example
|
||||
description: Empty chat photo
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatPhotoEmpty
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Empty chat photo
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: config
|
||||
description: config attributes, type and example
|
||||
description: Config
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: config
|
||||
@ -8,58 +8,62 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Config
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|phonecalls\_enabled|[Bool](../types/Bool.md) | Optional|
|
||||
|default\_p2p\_contacts|[Bool](../types/Bool.md) | Optional|
|
||||
|preload\_featured\_stickers|[Bool](../types/Bool.md) | Optional|
|
||||
|ignore\_phone\_entities|[Bool](../types/Bool.md) | Optional|
|
||||
|revoke\_pm\_inbox|[Bool](../types/Bool.md) | Optional|
|
||||
|blocked\_mode|[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|
|
||||
|dc\_txt\_domain\_name|[string](../types/string.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|
|
||||
|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|
|
||||
|revoke\_time\_limit|[int](../types/int.md) | Yes|
|
||||
|revoke\_pm\_time\_limit|[int](../types/int.md) | Yes|
|
||||
|rating\_e\_decay|[int](../types/int.md) | Yes|
|
||||
|stickers\_recent\_limit|[int](../types/int.md) | Yes|
|
||||
|stickers\_faved\_limit|[int](../types/int.md) | Yes|
|
||||
|channels\_read\_media\_period|[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|
|
||||
|autoupdate\_url\_prefix|[string](../types/string.md) | Optional|
|
||||
|gif\_search\_username|[string](../types/string.md) | Optional|
|
||||
|venue\_search\_username|[string](../types/string.md) | Optional|
|
||||
|img\_search\_username|[string](../types/string.md) | Optional|
|
||||
|static\_maps\_provider|[string](../types/string.md) | Optional|
|
||||
|caption\_length\_max|[int](../types/int.md) | Yes|
|
||||
|message\_length\_max|[int](../types/int.md) | Yes|
|
||||
|webfile\_dc\_id|[int](../types/int.md) | Yes|
|
||||
|suggested\_lang\_code|[string](../types/string.md) | Optional|
|
||||
|lang\_pack\_version|[int](../types/int.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|phonecalls\_enabled|[Bool](../types/Bool.md) | Optional|Phonecalls enabled?|
|
||||
|default\_p2p\_contacts|[Bool](../types/Bool.md) | Optional|Default p2p contacts?|
|
||||
|preload\_featured\_stickers|[Bool](../types/Bool.md) | Optional|Preload featured stickers?|
|
||||
|ignore\_phone\_entities|[Bool](../types/Bool.md) | Optional|Ignore phone entities?|
|
||||
|revoke\_pm\_inbox|[Bool](../types/Bool.md) | Optional|Revoke pm inbox?|
|
||||
|blocked\_mode|[Bool](../types/Bool.md) | Optional|Blocked mode?|
|
||||
|pfs\_enabled|[Bool](../types/Bool.md) | Optional|Pfs enabled?|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|expires|[int](../types/int.md) | Yes|Expires|
|
||||
|test\_mode|[Bool](../types/Bool.md) | Yes|Test mode?|
|
||||
|this\_dc|[int](../types/int.md) | Yes|This DC|
|
||||
|dc\_options|Array of [DcOption](../types/DcOption.md) | Yes|DC options|
|
||||
|dc\_txt\_domain\_name|[string](../types/string.md) | Yes|DC txt domain name|
|
||||
|chat\_size\_max|[int](../types/int.md) | Yes|Chat size max|
|
||||
|megagroup\_size\_max|[int](../types/int.md) | Yes|Megagroup size max|
|
||||
|forwarded\_count\_max|[int](../types/int.md) | Yes|Forwarded count max|
|
||||
|online\_update\_period\_ms|[int](../types/int.md) | Yes|Online update period ms|
|
||||
|offline\_blur\_timeout\_ms|[int](../types/int.md) | Yes|Offline blur timeout ms|
|
||||
|offline\_idle\_timeout\_ms|[int](../types/int.md) | Yes|Offline IDle timeout ms|
|
||||
|online\_cloud\_timeout\_ms|[int](../types/int.md) | Yes|Online cloud timeout ms|
|
||||
|notify\_cloud\_delay\_ms|[int](../types/int.md) | Yes|Notify cloud delay ms|
|
||||
|notify\_default\_delay\_ms|[int](../types/int.md) | Yes|Notify default delay ms|
|
||||
|push\_chat\_period\_ms|[int](../types/int.md) | Yes|Push chat period ms|
|
||||
|push\_chat\_limit|[int](../types/int.md) | Yes|Push chat limit|
|
||||
|saved\_gifs\_limit|[int](../types/int.md) | Yes|Saved gifs limit|
|
||||
|edit\_time\_limit|[int](../types/int.md) | Yes|Edit time limit|
|
||||
|revoke\_time\_limit|[int](../types/int.md) | Yes|Revoke time limit|
|
||||
|revoke\_pm\_time\_limit|[int](../types/int.md) | Yes|Revoke pm time limit|
|
||||
|rating\_e\_decay|[int](../types/int.md) | Yes|Rating e decay|
|
||||
|stickers\_recent\_limit|[int](../types/int.md) | Yes|Stickers recent limit|
|
||||
|stickers\_faved\_limit|[int](../types/int.md) | Yes|Stickers faved limit|
|
||||
|channels\_read\_media\_period|[int](../types/int.md) | Yes|Channels read media period|
|
||||
|tmp\_sessions|[int](../types/int.md) | Optional|Tmp sessions|
|
||||
|pinned\_dialogs\_count\_max|[int](../types/int.md) | Yes|Pinned dialogs count max|
|
||||
|call\_receive\_timeout\_ms|[int](../types/int.md) | Yes|Call receive timeout ms|
|
||||
|call\_ring\_timeout\_ms|[int](../types/int.md) | Yes|Call ring timeout ms|
|
||||
|call\_connect\_timeout\_ms|[int](../types/int.md) | Yes|Call connect timeout ms|
|
||||
|call\_packet\_timeout\_ms|[int](../types/int.md) | Yes|Call packet timeout ms|
|
||||
|me\_url\_prefix|[string](../types/string.md) | Yes|Me URL prefix|
|
||||
|autoupdate\_url\_prefix|[string](../types/string.md) | Optional|Autoupdate URL prefix|
|
||||
|gif\_search\_username|[string](../types/string.md) | Optional|Gif search username|
|
||||
|venue\_search\_username|[string](../types/string.md) | Optional|Venue search username|
|
||||
|img\_search\_username|[string](../types/string.md) | Optional|Img search username|
|
||||
|static\_maps\_provider|[string](../types/string.md) | Optional|Static maps provider|
|
||||
|caption\_length\_max|[int](../types/int.md) | Yes|Caption length max|
|
||||
|message\_length\_max|[int](../types/int.md) | Yes|Message length max|
|
||||
|webfile\_dc\_id|[int](../types/int.md) | Yes|Webfile DC ID|
|
||||
|suggested\_lang\_code|[string](../types/string.md) | Optional|Suggested lang code|
|
||||
|lang\_pack\_version|[int](../types/int.md) | Optional|Lang pack version|
|
||||
|base\_lang\_pack\_version|[int](../types/int.md) | Optional|Base lang pack version|
|
||||
|
||||
|
||||
|
||||
@ -69,20 +73,20 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```php
|
||||
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts' => Bool, 'preload_featured_stickers' => Bool, 'ignore_phone_entities' => Bool, 'revoke_pm_inbox' => Bool, 'blocked_mode' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'dc_txt_domain_name' => 'string', '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, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'revoke_time_limit' => int, 'revoke_pm_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => 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', 'autoupdate_url_prefix' => 'string', 'gif_search_username' => 'string', 'venue_search_username' => 'string', 'img_search_username' => 'string', 'static_maps_provider' => 'string', 'caption_length_max' => int, 'message_length_max' => int, 'webfile_dc_id' => int, 'suggested_lang_code' => 'string', 'lang_pack_version' => int];
|
||||
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts' => Bool, 'preload_featured_stickers' => Bool, 'ignore_phone_entities' => Bool, 'revoke_pm_inbox' => Bool, 'blocked_mode' => Bool, 'pfs_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'dc_txt_domain_name' => 'string', '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, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'revoke_time_limit' => int, 'revoke_pm_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => 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', 'autoupdate_url_prefix' => 'string', 'gif_search_username' => 'string', 'venue_search_username' => 'string', 'img_search_username' => 'string', 'static_maps_provider' => 'string', 'caption_length_max' => int, 'message_length_max' => int, 'webfile_dc_id' => int, 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'base_lang_pack_version' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "config", "phonecalls_enabled": Bool, "default_p2p_contacts": Bool, "preload_featured_stickers": Bool, "ignore_phone_entities": Bool, "revoke_pm_inbox": Bool, "blocked_mode": Bool, "date": int, "expires": int, "test_mode": Bool, "this_dc": int, "dc_options": [DcOption], "dc_txt_domain_name": "string", "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, "push_chat_period_ms": int, "push_chat_limit": int, "saved_gifs_limit": int, "edit_time_limit": int, "revoke_time_limit": int, "revoke_pm_time_limit": int, "rating_e_decay": int, "stickers_recent_limit": int, "stickers_faved_limit": int, "channels_read_media_period": 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", "autoupdate_url_prefix": "string", "gif_search_username": "string", "venue_search_username": "string", "img_search_username": "string", "static_maps_provider": "string", "caption_length_max": int, "message_length_max": int, "webfile_dc_id": int, "suggested_lang_code": "string", "lang_pack_version": int}
|
||||
{"_": "config", "phonecalls_enabled": Bool, "default_p2p_contacts": Bool, "preload_featured_stickers": Bool, "ignore_phone_entities": Bool, "revoke_pm_inbox": Bool, "blocked_mode": Bool, "pfs_enabled": Bool, "date": int, "expires": int, "test_mode": Bool, "this_dc": int, "dc_options": [DcOption], "dc_txt_domain_name": "string", "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, "push_chat_period_ms": int, "push_chat_limit": int, "saved_gifs_limit": int, "edit_time_limit": int, "revoke_time_limit": int, "revoke_pm_time_limit": int, "rating_e_decay": int, "stickers_recent_limit": int, "stickers_faved_limit": int, "channels_read_media_period": 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", "autoupdate_url_prefix": "string", "gif_search_username": "string", "venue_search_username": "string", "img_search_username": "string", "static_maps_provider": "string", "caption_length_max": int, "message_length_max": int, "webfile_dc_id": int, "suggested_lang_code": "string", "lang_pack_version": int, "base_lang_pack_version": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```lua
|
||||
config={_='config', phonecalls_enabled=Bool, default_p2p_contacts=Bool, preload_featured_stickers=Bool, ignore_phone_entities=Bool, revoke_pm_inbox=Bool, blocked_mode=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, dc_txt_domain_name='string', 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, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, revoke_time_limit=int, revoke_pm_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, channels_read_media_period=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', autoupdate_url_prefix='string', gif_search_username='string', venue_search_username='string', img_search_username='string', static_maps_provider='string', caption_length_max=int, message_length_max=int, webfile_dc_id=int, suggested_lang_code='string', lang_pack_version=int}
|
||||
config={_='config', phonecalls_enabled=Bool, default_p2p_contacts=Bool, preload_featured_stickers=Bool, ignore_phone_entities=Bool, revoke_pm_inbox=Bool, blocked_mode=Bool, pfs_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, dc_txt_domain_name='string', 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, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, revoke_time_limit=int, revoke_pm_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, channels_read_media_period=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', autoupdate_url_prefix='string', gif_search_username='string', venue_search_username='string', img_search_username='string', static_maps_provider='string', caption_length_max=int, message_length_max=int, webfile_dc_id=int, suggested_lang_code='string', lang_pack_version=int, base_lang_pack_version=int}
|
||||
|
||||
```
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: contact
|
||||
description: contact attributes, type and example
|
||||
description: Contact
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: contact
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Contact
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|user\_id|[int](../types/int.md) | Yes|
|
||||
|mutual|[Bool](../types/Bool.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|mutual|[Bool](../types/Bool.md) | Yes|Mutual?|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: contactBlocked
|
||||
description: contactBlocked attributes, type and example
|
||||
description: Contact blocked
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: contactBlocked
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Contact blocked
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|user\_id|[int](../types/int.md) | Yes|
|
||||
|date|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: contactLinkContact
|
||||
description: contactLinkContact attributes, type and example
|
||||
description: Contact link contact
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: contactLinkContact
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Contact link contact
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: contactLinkHasPhone
|
||||
description: contactLinkHasPhone attributes, type and example
|
||||
description: Contact link has phone
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: contactLinkHasPhone
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Contact link has phone
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: contactLinkNone
|
||||
description: contactLinkNone attributes, type and example
|
||||
description: Contact link none
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: contactLinkNone
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Contact link none
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: contactLinkUnknown
|
||||
description: contactLinkUnknown attributes, type and example
|
||||
description: Contact link unknown
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: contactLinkUnknown
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Contact link unknown
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: contactStatus
|
||||
description: contactStatus attributes, type and example
|
||||
description: Contact status
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: contactStatus
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Contact status
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|user\_id|[int](../types/int.md) | Yes|
|
||||
|status|[UserStatus](../types/UserStatus.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|status|[UserStatus](../types/UserStatus.md) | Optional|Status|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: contacts.blocked
|
||||
description: contacts_blocked attributes, type and example
|
||||
description: Blocked
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: contacts.blocked
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Blocked
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|
|
||||
|users|Array of [User](../types/User.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|blocked|Array of [ContactBlocked](../types/ContactBlocked.md) | Yes|Blocked|
|
||||
|users|Array of [User](../types/User.md) | Yes|Users|
|
||||
|
||||
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user