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