Update docs to layer 81
This commit is contained in:
parent
9a27a19fe5
commit
173bd0ee30
45
docs/API_docs/constructors/accessPointRule.md
Normal file
45
docs/API_docs/constructors/accessPointRule.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: accessPointRule
|
||||
description: accessPointRule attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: accessPointRule
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|phone\_prefix\_rules|[string](../types/string.md) | Yes|
|
||||
|dc\_id|[int](../types/int.md) | Yes|
|
||||
|ips|Array of [IpPort](../types/IpPort.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [AccessPointRule](../types/AccessPointRule.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$accessPointRule = ['_' => 'accessPointRule', 'phone_prefix_rules' => 'string', 'dc_id' => int, 'ips' => [IpPort, IpPort]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "accessPointRule", "phone_prefix_rules": "string", "dc_id": int, "ips": [IpPort]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
accessPointRule={_='accessPointRule', phone_prefix_rules='string', dc_id=int, ips={IpPort}}
|
||||
|
||||
```
|
||||
|
||||
|
48
docs/API_docs/constructors/account_authorizationForm.md
Normal file
48
docs/API_docs/constructors/account_authorizationForm.md
Normal file
@ -0,0 +1,48 @@
|
||||
---
|
||||
title: account.authorizationForm
|
||||
description: account_authorizationForm attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.authorizationForm
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|selfie\_required|[Bool](../types/Bool.md) | Optional|
|
||||
|required\_types|Array of [SecureValueType](../types/SecureValueType.md) | Yes|
|
||||
|values|Array of [SecureValue](../types/SecureValue.md) | Yes|
|
||||
|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|
|
||||
|users|Array of [User](../types/User.md) | Yes|
|
||||
|privacy\_policy\_url|[string](../types/string.md) | Optional|
|
||||
|
||||
|
||||
|
||||
### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$account_authorizationForm = ['_' => 'account.authorizationForm', 'selfie_required' => Bool, 'required_types' => [SecureValueType, SecureValueType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.authorizationForm", "selfie_required": Bool, "required_types": [SecureValueType], "values": [SecureValue], "errors": [SecureValueError], "users": [User], "privacy_policy_url": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
account_authorizationForm={_='account.authorizationForm', selfie_required=Bool, required_types={SecureValueType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'}
|
||||
|
||||
```
|
||||
|
||||
|
@ -13,6 +13,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|new\_salt|[bytes](../types/bytes.md) | Yes|
|
||||
|new\_secure\_salt|[bytes](../types/bytes.md) | Yes|
|
||||
|secure\_random|[bytes](../types/bytes.md) | Yes|
|
||||
|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|
|
||||
|
||||
|
||||
@ -23,13 +25,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'email_unconfirmed_pattern' => 'string'];
|
||||
$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'email_unconfirmed_pattern' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.noPassword", "new_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "email_unconfirmed_pattern": "string"}
|
||||
{"_": "account.noPassword", "new_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "new_secure_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secure_random": {"_": "bytes", "bytes":"base64 encoded bytes"}, "email_unconfirmed_pattern": "string"}
|
||||
```
|
||||
|
||||
|
||||
@ -37,7 +39,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'}
|
||||
account_noPassword={_='account.noPassword', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', email_unconfirmed_pattern='string'}
|
||||
|
||||
```
|
||||
|
||||
|
@ -12,10 +12,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|has\_recovery|[Bool](../types/Bool.md) | Optional|
|
||||
|has\_secure\_values|[Bool](../types/Bool.md) | Optional|
|
||||
|current\_salt|[bytes](../types/bytes.md) | Yes|
|
||||
|new\_salt|[bytes](../types/bytes.md) | Yes|
|
||||
|new\_secure\_salt|[bytes](../types/bytes.md) | Yes|
|
||||
|secure\_random|[bytes](../types/bytes.md) | Yes|
|
||||
|hint|[string](../types/string.md) | Yes|
|
||||
|has\_recovery|[Bool](../types/Bool.md) | Yes|
|
||||
|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|
|
||||
|
||||
|
||||
@ -26,13 +29,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string'];
|
||||
$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'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.password", "current_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "new_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "hint": "string", "has_recovery": Bool, "email_unconfirmed_pattern": "string"}
|
||||
{"_": "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"}
|
||||
```
|
||||
|
||||
|
||||
@ -40,7 +43,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'}
|
||||
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'}
|
||||
|
||||
```
|
||||
|
||||
|
@ -18,6 +18,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|new\_password\_hash|[bytes](../types/bytes.md) | Optional|`hash('sha256', $new_salt.$new_password.$new_salt, true)`|
|
||||
|hint|[string](../types/string.md) | Optional||
|
||||
|email|[string](../types/string.md) | Optional||
|
||||
|new\_secure\_salt|[bytes](../types/bytes.md) | Optional||
|
||||
|new\_secure\_secret|[bytes](../types/bytes.md) | Optional||
|
||||
|new\_secure\_secret\_id|[long](../types/long.md) | Optional||
|
||||
|
||||
|
||||
|
||||
@ -27,13 +30,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string'];
|
||||
$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];
|
||||
```
|
||||
|
||||
[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"}
|
||||
{"_": "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}
|
||||
```
|
||||
|
||||
|
||||
@ -41,7 +44,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'}
|
||||
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}
|
||||
|
||||
```
|
||||
|
||||
|
@ -13,6 +13,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|email|[string](../types/string.md) | Yes|
|
||||
|secure\_salt|[bytes](../types/bytes.md) | Yes|
|
||||
|secure\_secret|[bytes](../types/bytes.md) | Yes|
|
||||
|secure\_secret\_id|[long](../types/long.md) | Yes|
|
||||
|
||||
|
||||
|
||||
@ -22,13 +25,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string'];
|
||||
$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.passwordSettings", "email": "string"}
|
||||
{"_": "account.passwordSettings", "email": "string", "secure_salt": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secure_secret": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secure_secret_id": long}
|
||||
```
|
||||
|
||||
|
||||
@ -36,7 +39,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
account_passwordSettings={_='account.passwordSettings', email='string'}
|
||||
account_passwordSettings={_='account.passwordSettings', email='string', secure_salt='bytes', secure_secret='bytes', secure_secret_id=long}
|
||||
|
||||
```
|
||||
|
||||
|
44
docs/API_docs/constructors/account_sentEmailCode.md
Normal file
44
docs/API_docs/constructors/account_sentEmailCode.md
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
title: account.sentEmailCode
|
||||
description: account_sentEmailCode attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.sentEmailCode
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|email\_pattern|[string](../types/string.md) | Yes|
|
||||
|length|[int](../types/int.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.sentEmailCode", "email_pattern": "string", "length": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int}
|
||||
|
||||
```
|
||||
|
||||
|
43
docs/API_docs/constructors/account_takeout.md
Normal file
43
docs/API_docs/constructors/account_takeout.md
Normal file
@ -0,0 +1,43 @@
|
||||
---
|
||||
title: account.takeout
|
||||
description: account_takeout attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.takeout
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|id|[long](../types/long.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [account\_Takeout](../types/account_Takeout.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$account_takeout = ['_' => 'account.takeout', 'id' => long];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "account.takeout", "id": long}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
account_takeout={_='account.takeout', id=long}
|
||||
|
||||
```
|
||||
|
||||
|
@ -17,6 +17,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|phone\_code\_hash|[string](../types/string.md) | Yes|
|
||||
|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|
|
||||
|timeout|[int](../types/int.md) | Optional|
|
||||
|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|
|
||||
|
||||
|
||||
|
||||
@ -26,13 +27,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int];
|
||||
$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "auth.sentCode", "phone_registered": Bool, "type": auth_SentCodeType, "phone_code_hash": "string", "next_type": auth_CodeType, "timeout": int}
|
||||
{"_": "auth.sentCode", "phone_registered": Bool, "type": auth_SentCodeType, "phone_code_hash": "string", "next_type": auth_CodeType, "timeout": int, "terms_of_service": help_TermsOfService}
|
||||
```
|
||||
|
||||
|
||||
@ -40,7 +41,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int}
|
||||
auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int, terms_of_service=help_TermsOfService}
|
||||
|
||||
```
|
||||
|
||||
|
@ -17,6 +17,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|address|[string](../types/string.md) | Yes|
|
||||
|provider|[string](../types/string.md) | Yes|
|
||||
|venue\_id|[string](../types/string.md) | Yes|
|
||||
|venue\_type|[string](../types/string.md) | Yes|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||
|
||||
|
||||
@ -27,13 +28,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup];
|
||||
$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string', 'reply_markup' => ReplyMarkup];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "botInlineMessageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup}
|
||||
{"_": "botInlineMessageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "venue_type": "string", "reply_markup": ReplyMarkup}
|
||||
```
|
||||
|
||||
|
||||
@ -41,7 +42,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup}
|
||||
botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string', reply_markup=ReplyMarkup}
|
||||
|
||||
```
|
||||
|
||||
|
@ -17,12 +17,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|title|[string](../types/string.md) | Optional|
|
||||
|description|[string](../types/string.md) | Optional|
|
||||
|url|[string](../types/string.md) | Optional|
|
||||
|thumb\_url|[string](../types/string.md) | Optional|
|
||||
|content\_url|[string](../types/string.md) | Optional|
|
||||
|content\_type|[string](../types/string.md) | Optional|
|
||||
|w|[int](../types/int.md) | Optional|
|
||||
|h|[int](../types/int.md) | Optional|
|
||||
|duration|[int](../types/int.md) | Optional|
|
||||
|thumb|[WebDocument](../types/WebDocument.md) | Optional|
|
||||
|content|[WebDocument](../types/WebDocument.md) | Optional|
|
||||
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|
|
||||
|
||||
|
||||
@ -33,13 +29,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage];
|
||||
$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => WebDocument, 'content' => WebDocument, 'send_message' => BotInlineMessage];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": BotInlineMessage}
|
||||
{"_": "botInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb": WebDocument, "content": WebDocument, "send_message": BotInlineMessage}
|
||||
```
|
||||
|
||||
|
||||
@ -47,7 +43,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=BotInlineMessage}
|
||||
botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb=WebDocument, content=WebDocument, send_message=BotInlineMessage}
|
||||
|
||||
```
|
||||
|
||||
|
@ -21,6 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|invite\_link|[Bool](../types/Bool.md) | Optional|
|
||||
|pin\_messages|[Bool](../types/Bool.md) | Optional|
|
||||
|add\_admins|[Bool](../types/Bool.md) | Optional|
|
||||
|manage\_call|[Bool](../types/Bool.md) | Optional|
|
||||
|
||||
|
||||
|
||||
@ -30,13 +31,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$channelAdminRights = ['_' => 'channelAdminRights', 'change_info' => Bool, 'post_messages' => Bool, 'edit_messages' => Bool, 'delete_messages' => Bool, 'ban_users' => Bool, 'invite_users' => Bool, 'invite_link' => Bool, 'pin_messages' => Bool, 'add_admins' => Bool];
|
||||
$channelAdminRights = ['_' => 'channelAdminRights', 'change_info' => Bool, 'post_messages' => Bool, 'edit_messages' => Bool, 'delete_messages' => Bool, 'ban_users' => Bool, 'invite_users' => Bool, 'invite_link' => Bool, 'pin_messages' => Bool, 'add_admins' => Bool, 'manage_call' => Bool];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "channelAdminRights", "change_info": Bool, "post_messages": Bool, "edit_messages": Bool, "delete_messages": Bool, "ban_users": Bool, "invite_users": Bool, "invite_link": Bool, "pin_messages": Bool, "add_admins": Bool}
|
||||
{"_": "channelAdminRights", "change_info": Bool, "post_messages": Bool, "edit_messages": Bool, "delete_messages": Bool, "ban_users": Bool, "invite_users": Bool, "invite_link": Bool, "pin_messages": Bool, "add_admins": Bool, "manage_call": Bool}
|
||||
```
|
||||
|
||||
|
||||
@ -44,7 +45,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
channelAdminRights={_='channelAdminRights', change_info=Bool, post_messages=Bool, edit_messages=Bool, delete_messages=Bool, ban_users=Bool, invite_users=Bool, invite_link=Bool, pin_messages=Bool, add_admins=Bool}
|
||||
channelAdminRights={_='channelAdminRights', change_info=Bool, post_messages=Bool, edit_messages=Bool, delete_messages=Bool, ban_users=Bool, invite_users=Bool, invite_link=Bool, pin_messages=Bool, add_admins=Bool, manage_call=Bool}
|
||||
|
||||
```
|
||||
|
||||
|
@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|read\_outbox\_max\_id|[int](../types/int.md) | Yes|
|
||||
|unread\_count|[int](../types/int.md) | Yes|
|
||||
|chat\_photo|[Photo](../types/Photo.md) | Optional|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|
|
||||
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|
|
||||
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Yes|
|
||||
|migrated\_from\_chat\_id|[int](../types/int.md) | Optional|
|
||||
|
@ -15,7 +15,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|id|[int](../types/int.md) | Yes|
|
||||
|participants|[ChatParticipants](../types/ChatParticipants.md) | Yes|
|
||||
|chat\_photo|[Photo](../types/Photo.md) | Optional|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|
|
||||
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|
|
||||
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Yes|
|
||||
|
||||
|
@ -14,6 +14,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|----------|---------------|----------|
|
||||
|phonecalls\_enabled|[Bool](../types/Bool.md) | Optional|
|
||||
|default\_p2p\_contacts|[Bool](../types/Bool.md) | Optional|
|
||||
|preload\_featured\_stickers|[Bool](../types/Bool.md) | Optional|
|
||||
|ignore\_phone\_entities|[Bool](../types/Bool.md) | Optional|
|
||||
|revoke\_pm\_inbox|[Bool](../types/Bool.md) | Optional|
|
||||
|blocked\_mode|[Bool](../types/Bool.md) | Optional|
|
||||
|date|[int](../types/int.md) | Yes|
|
||||
|expires|[int](../types/int.md) | Yes|
|
||||
|test\_mode|[Bool](../types/Bool.md) | Yes|
|
||||
@ -28,11 +32,12 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|online\_cloud\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||
|notify\_cloud\_delay\_ms|[int](../types/int.md) | Yes|
|
||||
|notify\_default\_delay\_ms|[int](../types/int.md) | Yes|
|
||||
|chat\_big\_size|[int](../types/int.md) | Yes|
|
||||
|push\_chat\_period\_ms|[int](../types/int.md) | Yes|
|
||||
|push\_chat\_limit|[int](../types/int.md) | Yes|
|
||||
|saved\_gifs\_limit|[int](../types/int.md) | Yes|
|
||||
|edit\_time\_limit|[int](../types/int.md) | Yes|
|
||||
|revoke\_time\_limit|[int](../types/int.md) | Yes|
|
||||
|revoke\_pm\_time\_limit|[int](../types/int.md) | Yes|
|
||||
|rating\_e\_decay|[int](../types/int.md) | Yes|
|
||||
|stickers\_recent\_limit|[int](../types/int.md) | Yes|
|
||||
|stickers\_faved\_limit|[int](../types/int.md) | Yes|
|
||||
@ -44,9 +49,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|call\_connect\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||
|call\_packet\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||
|me\_url\_prefix|[string](../types/string.md) | Yes|
|
||||
|autoupdate\_url\_prefix|[string](../types/string.md) | Optional|
|
||||
|suggested\_lang\_code|[string](../types/string.md) | Optional|
|
||||
|lang\_pack\_version|[int](../types/int.md) | Optional|
|
||||
|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Yes|
|
||||
|
||||
|
||||
|
||||
@ -56,13 +61,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, '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', 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'disabled_features' => [DisabledFeature, DisabledFeature]];
|
||||
$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], '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', 'suggested_lang_code' => 'string', 'lang_pack_version' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "config", "phonecalls_enabled": Bool, "default_p2p_contacts": Bool, "date": int, "expires": int, "test_mode": Bool, "this_dc": int, "dc_options": [DcOption], "chat_size_max": int, "megagroup_size_max": int, "forwarded_count_max": int, "online_update_period_ms": int, "offline_blur_timeout_ms": int, "offline_idle_timeout_ms": int, "online_cloud_timeout_ms": int, "notify_cloud_delay_ms": int, "notify_default_delay_ms": int, "chat_big_size": int, "push_chat_period_ms": int, "push_chat_limit": int, "saved_gifs_limit": int, "edit_time_limit": int, "rating_e_decay": int, "stickers_recent_limit": int, "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", "suggested_lang_code": "string", "lang_pack_version": int, "disabled_features": [DisabledFeature]}
|
||||
{"_": "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], "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", "suggested_lang_code": "string", "lang_pack_version": int}
|
||||
```
|
||||
|
||||
|
||||
@ -70,7 +75,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
config={_='config', phonecalls_enabled=Bool, default_p2p_contacts=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, 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', suggested_lang_code='string', lang_pack_version=int, disabled_features={DisabledFeature}}
|
||||
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}, 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', suggested_lang_code='string', lang_pack_version=int}
|
||||
|
||||
```
|
||||
|
||||
|
@ -20,6 +20,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|id|[int](../types/int.md) | Yes|
|
||||
|ip\_address|[string](../types/string.md) | Yes|
|
||||
|port|[int](../types/int.md) | Yes|
|
||||
|secret|[bytes](../types/bytes.md) | Optional|
|
||||
|
||||
|
||||
|
||||
@ -29,13 +30,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int];
|
||||
$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => 'string', 'port' => int, 'secret' => 'bytes'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "tcpo_only": Bool, "cdn": Bool, "static": Bool, "id": int, "ip_address": "string", "port": int}
|
||||
{"_": "dcOption", "ipv6": Bool, "media_only": Bool, "tcpo_only": Bool, "cdn": Bool, "static": Bool, "id": int, "ip_address": "string", "port": int, "secret": {"_": "bytes", "bytes":"base64 encoded bytes"}}
|
||||
```
|
||||
|
||||
|
||||
@ -43,7 +44,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address='string', port=int}
|
||||
dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address='string', port=int, secret='bytes'}
|
||||
|
||||
```
|
||||
|
||||
|
@ -19,7 +19,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|read\_outbox\_max\_id|[int](../types/int.md) | Yes|
|
||||
|unread\_count|[int](../types/int.md) | Yes|
|
||||
|unread\_mentions\_count|[int](../types/int.md) | Yes|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|
|
||||
|pts|[int](../types/int.md) | Optional|
|
||||
|draft|[DraftMessage](../types/DraftMessage.md) | Optional|
|
||||
|
||||
|
43
docs/API_docs/constructors/dialogPeer.md
Normal file
43
docs/API_docs/constructors/dialogPeer.md
Normal file
@ -0,0 +1,43 @@
|
||||
---
|
||||
title: dialogPeer
|
||||
description: dialogPeer attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: dialogPeer
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|peer|[Peer](../types/Peer.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [DialogPeer](../types/DialogPeer.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$dialogPeer = ['_' => 'dialogPeer', 'peer' => Peer];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "dialogPeer", "peer": Peer}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
dialogPeer={_='dialogPeer', peer=Peer}
|
||||
|
||||
```
|
||||
|
||||
|
45
docs/API_docs/constructors/fileHash.md
Normal file
45
docs/API_docs/constructors/fileHash.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: fileHash
|
||||
description: fileHash attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: fileHash
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|offset|[int](../types/int.md) | Yes|
|
||||
|limit|[int](../types/int.md) | Yes|
|
||||
|hash|[bytes](../types/bytes.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [FileHash](../types/FileHash.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$fileHash = ['_' => 'fileHash', 'offset' => int, 'limit' => int, 'hash' => 'bytes'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "fileHash", "offset": int, "limit": int, "hash": {"_": "bytes", "bytes":"base64 encoded bytes"}}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
fileHash={_='fileHash', offset=int, limit=int, hash='bytes'}
|
||||
|
||||
```
|
||||
|
||||
|
45
docs/API_docs/constructors/help_configSimple.md
Normal file
45
docs/API_docs/constructors/help_configSimple.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: help.configSimple
|
||||
description: help_configSimple attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: help.configSimple
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|date|[int](../types/int.md) | Yes|
|
||||
|expires|[int](../types/int.md) | Yes|
|
||||
|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "help.configSimple", "date": int, "expires": int, "rules": [AccessPointRule]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
help_configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}}
|
||||
|
||||
```
|
||||
|
||||
|
45
docs/API_docs/constructors/help_deepLinkInfo.md
Normal file
45
docs/API_docs/constructors/help_deepLinkInfo.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: help.deepLinkInfo
|
||||
description: help_deepLinkInfo attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: help.deepLinkInfo
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|update\_app|[Bool](../types/Bool.md) | Optional|
|
||||
|message|[string](../types/string.md) | Yes|
|
||||
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|
||||
|
||||
|
||||
|
||||
### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$help_deepLinkInfo = ['_' => 'help.deepLinkInfo', 'update_app' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "help.deepLinkInfo", "update_app": Bool, "message": "string", "entities": [MessageEntity]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
help_deepLinkInfo={_='help.deepLinkInfo', update_app=Bool, message='string', entities={MessageEntity}}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/help_deepLinkInfoEmpty.md
Normal file
38
docs/API_docs/constructors/help_deepLinkInfoEmpty.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: help.deepLinkInfoEmpty
|
||||
description: help_deepLinkInfoEmpty attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: help.deepLinkInfoEmpty
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [help\_DeepLinkInfo](../types/help_DeepLinkInfo.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$help_deepLinkInfoEmpty = ['_' => 'help.deepLinkInfoEmpty'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "help.deepLinkInfoEmpty"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
help_deepLinkInfoEmpty={_='help.deepLinkInfoEmpty'}
|
||||
|
||||
```
|
||||
|
||||
|
43
docs/API_docs/constructors/help_proxyDataEmpty.md
Normal file
43
docs/API_docs/constructors/help_proxyDataEmpty.md
Normal file
@ -0,0 +1,43 @@
|
||||
---
|
||||
title: help.proxyDataEmpty
|
||||
description: help_proxyDataEmpty attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: help.proxyDataEmpty
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|expires|[int](../types/int.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [help\_ProxyData](../types/help_ProxyData.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$help_proxyDataEmpty = ['_' => 'help.proxyDataEmpty', 'expires' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "help.proxyDataEmpty", "expires": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
help_proxyDataEmpty={_='help.proxyDataEmpty', expires=int}
|
||||
|
||||
```
|
||||
|
||||
|
46
docs/API_docs/constructors/help_proxyDataPromo.md
Normal file
46
docs/API_docs/constructors/help_proxyDataPromo.md
Normal file
@ -0,0 +1,46 @@
|
||||
---
|
||||
title: help.proxyDataPromo
|
||||
description: help_proxyDataPromo attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: help.proxyDataPromo
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|expires|[int](../types/int.md) | Yes|
|
||||
|peer|[Peer](../types/Peer.md) | Yes|
|
||||
|chats|Array of [Chat](../types/Chat.md) | Yes|
|
||||
|users|Array of [User](../types/User.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [help\_ProxyData](../types/help_ProxyData.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$help_proxyDataPromo = ['_' => 'help.proxyDataPromo', 'expires' => int, 'peer' => Peer, 'chats' => [Chat, Chat], 'users' => [User, User]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "help.proxyDataPromo", "expires": int, "peer": Peer, "chats": [Chat], "users": [User]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
help_proxyDataPromo={_='help.proxyDataPromo', expires=int, peer=Peer, chats={Chat}, users={User}}
|
||||
|
||||
```
|
||||
|
||||
|
@ -12,7 +12,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|popup|[Bool](../types/Bool.md) | Optional|
|
||||
|id|[DataJSON](../types/DataJSON.md) | Yes|
|
||||
|text|[string](../types/string.md) | Yes|
|
||||
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Yes|
|
||||
|min\_age\_confirm|[int](../types/int.md) | Optional|
|
||||
|
||||
|
||||
|
||||
@ -22,13 +26,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$help_termsOfService = ['_' => 'help.termsOfService', 'text' => 'string'];
|
||||
$help_termsOfService = ['_' => 'help.termsOfService', 'popup' => Bool, 'id' => DataJSON, 'text' => 'string', 'entities' => [MessageEntity, MessageEntity], 'min_age_confirm' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "help.termsOfService", "text": "string"}
|
||||
{"_": "help.termsOfService", "popup": Bool, "id": DataJSON, "text": "string", "entities": [MessageEntity], "min_age_confirm": int}
|
||||
```
|
||||
|
||||
|
||||
@ -36,7 +40,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
help_termsOfService={_='help.termsOfService', text='string'}
|
||||
help_termsOfService={_='help.termsOfService', popup=Bool, id=DataJSON, text='string', entities={MessageEntity}, min_age_confirm=int}
|
||||
|
||||
```
|
||||
|
||||
|
44
docs/API_docs/constructors/help_termsOfServiceUpdate.md
Normal file
44
docs/API_docs/constructors/help_termsOfServiceUpdate.md
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
title: help.termsOfServiceUpdate
|
||||
description: help_termsOfServiceUpdate attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: help.termsOfServiceUpdate
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|expires|[int](../types/int.md) | Yes|
|
||||
|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$help_termsOfServiceUpdate = ['_' => 'help.termsOfServiceUpdate', 'expires' => int, 'terms_of_service' => help_TermsOfService];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "help.termsOfServiceUpdate", "expires": int, "terms_of_service": help_TermsOfService}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
help_termsOfServiceUpdate={_='help.termsOfServiceUpdate', expires=int, terms_of_service=help_TermsOfService}
|
||||
|
||||
```
|
||||
|
||||
|
43
docs/API_docs/constructors/help_termsOfServiceUpdateEmpty.md
Normal file
43
docs/API_docs/constructors/help_termsOfServiceUpdateEmpty.md
Normal file
@ -0,0 +1,43 @@
|
||||
---
|
||||
title: help.termsOfServiceUpdateEmpty
|
||||
description: help_termsOfServiceUpdateEmpty attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: help.termsOfServiceUpdateEmpty
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|expires|[int](../types/int.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$help_termsOfServiceUpdateEmpty = ['_' => 'help.termsOfServiceUpdateEmpty', 'expires' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "help.termsOfServiceUpdateEmpty", "expires": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
help_termsOfServiceUpdateEmpty={_='help.termsOfServiceUpdateEmpty', expires=int}
|
||||
|
||||
```
|
||||
|
||||
|
@ -6,22 +6,31 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
# Constructors
|
||||
[Back to API documentation index](..)
|
||||
|
||||
***
|
||||
<br><br>[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \];<a name="accessPointRule"></a>
|
||||
|
||||
***
|
||||
<br><br>[$accountDaysTTL](../constructors/accountDaysTTL.md) = \['days' => [int](../types/int.md), \];<a name="accountDaysTTL"></a>
|
||||
|
||||
***
|
||||
<br><br>[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \];<a name="account_authorizations"></a>
|
||||
<br><br>[$account\_authorizationForm](../constructors/account_authorizationForm.md) = \['selfie_required' => [Bool](../types/Bool.md), 'required_types' => \[[SecureValueType](../types/SecureValueType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \];<a name="account_authorizationForm"></a>
|
||||
|
||||
[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \];<a name="account_noPassword"></a>
|
||||
[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \];<a name="account_authorizations"></a>
|
||||
|
||||
[$account\_password](../constructors/account_password.md) = \['current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'has_recovery' => [Bool](../types/Bool.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \];<a name="account_password"></a>
|
||||
[$account\_noPassword](../constructors/account_noPassword.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'secure_random' => [bytes](../types/bytes.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \];<a name="account_noPassword"></a>
|
||||
|
||||
[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), \];<a name="account_passwordInputSettings"></a>
|
||||
[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'current_salt' => [bytes](../types/bytes.md), 'new_salt' => [bytes](../types/bytes.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'secure_random' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), \];<a name="account_password"></a>
|
||||
|
||||
[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), \];<a name="account_passwordSettings"></a>
|
||||
[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_salt' => [bytes](../types/bytes.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_salt' => [bytes](../types/bytes.md), 'new_secure_secret' => [bytes](../types/bytes.md), 'new_secure_secret_id' => [long](../types/long.md), \];<a name="account_passwordInputSettings"></a>
|
||||
|
||||
[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_salt' => [bytes](../types/bytes.md), 'secure_secret' => [bytes](../types/bytes.md), 'secure_secret_id' => [long](../types/long.md), \];<a name="account_passwordSettings"></a>
|
||||
|
||||
[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="account_privacyRules"></a>
|
||||
|
||||
[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \];<a name="account_sentEmailCode"></a>
|
||||
|
||||
[$account\_takeout](../constructors/account_takeout.md) = \['id' => [long](../types/long.md), \];<a name="account_takeout"></a>
|
||||
|
||||
[$account\_tmpPassword](../constructors/account_tmpPassword.md) = \['tmp_password' => [bytes](../types/bytes.md), 'valid_until' => [int](../types/int.md), \];<a name="account_tmpPassword"></a>
|
||||
|
||||
[$account\_webAuthorizations](../constructors/account_webAuthorizations.md) = \['authorizations' => \[[WebAuthorization](../types/WebAuthorization.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="account_webAuthorizations"></a>
|
||||
@ -41,7 +50,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
[$auth\_passwordRecovery](../constructors/auth_passwordRecovery.md) = \['email_pattern' => [string](../types/string.md), \];<a name="auth_passwordRecovery"></a>
|
||||
|
||||
[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth\_SentCodeType](../types/auth_SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth\_CodeType](../types/auth_CodeType.md), 'timeout' => [int](../types/int.md), \];<a name="auth_sentCode"></a>
|
||||
[$auth\_sentCode](../constructors/auth_sentCode.md) = \['phone_registered' => [Bool](../types/Bool.md), 'type' => [auth\_SentCodeType](../types/auth_SentCodeType.md), 'phone_code_hash' => [string](../types/string.md), 'next_type' => [auth\_CodeType](../types/auth_CodeType.md), 'timeout' => [int](../types/int.md), 'terms_of_service' => [help\_TermsOfService](../types/help_TermsOfService.md), \];<a name="auth_sentCode"></a>
|
||||
|
||||
[$auth\_sentCodeTypeApp](../constructors/auth_sentCodeTypeApp.md) = \['length' => [int](../types/int.md), \];<a name="auth_sentCodeTypeApp"></a>
|
||||
|
||||
@ -79,20 +88,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$botInlineMessageMediaGeo](../constructors/botInlineMessageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'period' => [int](../types/int.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="botInlineMessageMediaGeo"></a>
|
||||
|
||||
***
|
||||
<br><br>[$botInlineMessageMediaVenue](../constructors/botInlineMessageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="botInlineMessageMediaVenue"></a>
|
||||
<br><br>[$botInlineMessageMediaVenue](../constructors/botInlineMessageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'venue_type' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="botInlineMessageMediaVenue"></a>
|
||||
|
||||
***
|
||||
<br><br>[$botInlineMessageText](../constructors/botInlineMessageText.md) = \['no_webpage' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="botInlineMessageText"></a>
|
||||
|
||||
***
|
||||
<br><br>[$botInlineResult](../constructors/botInlineResult.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'send_message' => [BotInlineMessage](../types/BotInlineMessage.md), \];<a name="botInlineResult"></a>
|
||||
<br><br>[$botInlineResult](../constructors/botInlineResult.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'url' => [string](../types/string.md), 'thumb' => [WebDocument](../types/WebDocument.md), 'content' => [WebDocument](../types/WebDocument.md), 'send_message' => [BotInlineMessage](../types/BotInlineMessage.md), \];<a name="botInlineResult"></a>
|
||||
|
||||
***
|
||||
<br><br>[$cdnConfig](../constructors/cdnConfig.md) = \['public_keys' => \[[CdnPublicKey](../types/CdnPublicKey.md)\], \];<a name="cdnConfig"></a>
|
||||
|
||||
***
|
||||
<br><br>[$cdnFileHash](../constructors/cdnFileHash.md) = \['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [bytes](../types/bytes.md), \];<a name="cdnFileHash"></a>
|
||||
|
||||
***
|
||||
<br><br>[$cdnPublicKey](../constructors/cdnPublicKey.md) = \['dc_id' => [int](../types/int.md), 'public_key' => [string](../types/string.md), \];<a name="cdnPublicKey"></a>
|
||||
|
||||
@ -154,7 +160,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$channelAdminLogEventsFilter](../constructors/channelAdminLogEventsFilter.md) = \['join' => [Bool](../types/Bool.md), 'leave' => [Bool](../types/Bool.md), 'invite' => [Bool](../types/Bool.md), 'ban' => [Bool](../types/Bool.md), 'unban' => [Bool](../types/Bool.md), 'kick' => [Bool](../types/Bool.md), 'unkick' => [Bool](../types/Bool.md), 'promote' => [Bool](../types/Bool.md), 'demote' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), 'settings' => [Bool](../types/Bool.md), 'pinned' => [Bool](../types/Bool.md), 'edit' => [Bool](../types/Bool.md), 'delete' => [Bool](../types/Bool.md), \];<a name="channelAdminLogEventsFilter"></a>
|
||||
|
||||
***
|
||||
<br><br>[$channelAdminRights](../constructors/channelAdminRights.md) = \['change_info' => [Bool](../types/Bool.md), 'post_messages' => [Bool](../types/Bool.md), 'edit_messages' => [Bool](../types/Bool.md), 'delete_messages' => [Bool](../types/Bool.md), 'ban_users' => [Bool](../types/Bool.md), 'invite_users' => [Bool](../types/Bool.md), 'invite_link' => [Bool](../types/Bool.md), 'pin_messages' => [Bool](../types/Bool.md), 'add_admins' => [Bool](../types/Bool.md), \];<a name="channelAdminRights"></a>
|
||||
<br><br>[$channelAdminRights](../constructors/channelAdminRights.md) = \['change_info' => [Bool](../types/Bool.md), 'post_messages' => [Bool](../types/Bool.md), 'edit_messages' => [Bool](../types/Bool.md), 'delete_messages' => [Bool](../types/Bool.md), 'ban_users' => [Bool](../types/Bool.md), 'invite_users' => [Bool](../types/Bool.md), 'invite_link' => [Bool](../types/Bool.md), 'pin_messages' => [Bool](../types/Bool.md), 'add_admins' => [Bool](../types/Bool.md), 'manage_call' => [Bool](../types/Bool.md), \];<a name="channelAdminRights"></a>
|
||||
|
||||
***
|
||||
<br><br>[$channelBannedRights](../constructors/channelBannedRights.md) = \['view_messages' => [Bool](../types/Bool.md), 'send_messages' => [Bool](../types/Bool.md), 'send_media' => [Bool](../types/Bool.md), 'send_stickers' => [Bool](../types/Bool.md), 'send_gifs' => [Bool](../types/Bool.md), 'send_games' => [Bool](../types/Bool.md), 'send_inline' => [Bool](../types/Bool.md), 'embed_links' => [Bool](../types/Bool.md), 'until_date' => [int](../types/int.md), \];<a name="channelBannedRights"></a>
|
||||
@ -259,7 +265,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\];<a name="chatPhotoEmpty"></a>
|
||||
|
||||
***
|
||||
<br><br>[$config](../constructors/config.md) = \['phonecalls_enabled' => [Bool](../types/Bool.md), 'default_p2p_contacts' => [Bool](../types/Bool.md), 'date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'saved_gifs_limit' => [int](../types/int.md), 'edit_time_limit' => [int](../types/int.md), 'rating_e_decay' => [int](../types/int.md), 'stickers_recent_limit' => [int](../types/int.md), 'stickers_faved_limit' => [int](../types/int.md), 'channels_read_media_period' => [int](../types/int.md), 'tmp_sessions' => [int](../types/int.md), 'pinned_dialogs_count_max' => [int](../types/int.md), 'call_receive_timeout_ms' => [int](../types/int.md), 'call_ring_timeout_ms' => [int](../types/int.md), 'call_connect_timeout_ms' => [int](../types/int.md), 'call_packet_timeout_ms' => [int](../types/int.md), 'me_url_prefix' => [string](../types/string.md), 'suggested_lang_code' => [string](../types/string.md), 'lang_pack_version' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \];<a name="config"></a>
|
||||
<br><br>[$config](../constructors/config.md) = \['phonecalls_enabled' => [Bool](../types/Bool.md), 'default_p2p_contacts' => [Bool](../types/Bool.md), 'preload_featured_stickers' => [Bool](../types/Bool.md), 'ignore_phone_entities' => [Bool](../types/Bool.md), 'revoke_pm_inbox' => [Bool](../types/Bool.md), 'blocked_mode' => [Bool](../types/Bool.md), 'date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'saved_gifs_limit' => [int](../types/int.md), 'edit_time_limit' => [int](../types/int.md), 'revoke_time_limit' => [int](../types/int.md), 'revoke_pm_time_limit' => [int](../types/int.md), 'rating_e_decay' => [int](../types/int.md), 'stickers_recent_limit' => [int](../types/int.md), 'stickers_faved_limit' => [int](../types/int.md), 'channels_read_media_period' => [int](../types/int.md), 'tmp_sessions' => [int](../types/int.md), 'pinned_dialogs_count_max' => [int](../types/int.md), 'call_receive_timeout_ms' => [int](../types/int.md), 'call_ring_timeout_ms' => [int](../types/int.md), 'call_connect_timeout_ms' => [int](../types/int.md), 'call_packet_timeout_ms' => [int](../types/int.md), 'me_url_prefix' => [string](../types/string.md), 'autoupdate_url_prefix' => [string](../types/string.md), 'suggested_lang_code' => [string](../types/string.md), 'lang_pack_version' => [int](../types/int.md), \];<a name="config"></a>
|
||||
|
||||
***
|
||||
<br><br>[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \];<a name="contact"></a>
|
||||
@ -307,7 +313,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \];<a name="dataJSON"></a>
|
||||
|
||||
***
|
||||
<br><br>[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'cdn' => [Bool](../types/Bool.md), 'static' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \];<a name="dcOption"></a>
|
||||
<br><br>[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'cdn' => [Bool](../types/Bool.md), 'static' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), 'secret' => [bytes](../types/bytes.md), \];<a name="dcOption"></a>
|
||||
|
||||
***
|
||||
<br><br>[$decryptedDataBlock](../constructors/decryptedDataBlock.md) = \['voice_call_id' => [int128](../types/int128.md), 'in_seq_no' => [int](../types/int.md), 'out_seq_no' => [int](../types/int.md), 'recent_received_mask' => [int](../types/int.md), 'proto' => [int](../types/int.md), 'extra' => [string](../types/string.md), 'raw_data' => [string](../types/string.md), \];<a name="decryptedDataBlock"></a>
|
||||
@ -394,7 +400,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$dialog](../constructors/dialog.md) = \['pinned' => [Bool](../types/Bool.md), 'peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), 'draft' => [DraftMessage](../types/DraftMessage.md), \];<a name="dialog"></a>
|
||||
|
||||
***
|
||||
<br><br>[$disabledFeature](../constructors/disabledFeature.md) = \['feature' => [string](../types/string.md), 'description' => [string](../types/string.md), \];<a name="disabledFeature"></a>
|
||||
<br><br>[$dialogPeer](../constructors/dialogPeer.md) = \['peer' => [Peer](../types/Peer.md), \];<a name="dialogPeer"></a>
|
||||
|
||||
***
|
||||
<br><br>[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'dc_id' => [int](../types/int.md), 'version' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \];<a name="document"></a>
|
||||
@ -462,6 +468,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$exportedMessageLink](../constructors/exportedMessageLink.md) = \['link' => [string](../types/string.md), 'html' => [string](../types/string.md), \];<a name="exportedMessageLink"></a>
|
||||
|
||||
***
|
||||
<br><br>[$fileHash](../constructors/fileHash.md) = \['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [bytes](../types/bytes.md), \];<a name="fileHash"></a>
|
||||
|
||||
***
|
||||
<br><br>[$fileLocation](../constructors/fileLocation.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \];<a name="fileLocation"></a>
|
||||
|
||||
@ -486,15 +495,29 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \];<a name="help_appUpdate"></a>
|
||||
|
||||
[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \];<a name="help_configSimple"></a>
|
||||
|
||||
[$help\_deepLinkInfo](../constructors/help_deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \];<a name="help_deepLinkInfo"></a>
|
||||
|
||||
[$help\_deepLinkInfoEmpty](../constructors/help_deepLinkInfoEmpty.md) = \[\];<a name="help_deepLinkInfoEmpty"></a>
|
||||
|
||||
[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \];<a name="help_inviteText"></a>
|
||||
|
||||
[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\];<a name="help_noAppUpdate"></a>
|
||||
|
||||
[$help\_proxyDataEmpty](../constructors/help_proxyDataEmpty.md) = \['expires' => [int](../types/int.md), \];<a name="help_proxyDataEmpty"></a>
|
||||
|
||||
[$help\_proxyDataPromo](../constructors/help_proxyDataPromo.md) = \['expires' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="help_proxyDataPromo"></a>
|
||||
|
||||
[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="help_recentMeUrls"></a>
|
||||
|
||||
[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \];<a name="help_support"></a>
|
||||
|
||||
[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \];<a name="help_termsOfService"></a>
|
||||
[$help\_termsOfService](../constructors/help_termsOfService.md) = \['popup' => [Bool](../types/Bool.md), 'id' => [DataJSON](../types/DataJSON.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'min_age_confirm' => [int](../types/int.md), \];<a name="help_termsOfService"></a>
|
||||
|
||||
[$help\_termsOfServiceUpdate](../constructors/help_termsOfServiceUpdate.md) = \['expires' => [int](../types/int.md), 'terms_of_service' => [help\_TermsOfService](../types/help_TermsOfService.md), \];<a name="help_termsOfServiceUpdate"></a>
|
||||
|
||||
[$help\_termsOfServiceUpdateEmpty](../constructors/help_termsOfServiceUpdateEmpty.md) = \['expires' => [int](../types/int.md), \];<a name="help_termsOfServiceUpdateEmpty"></a>
|
||||
|
||||
***
|
||||
<br><br>[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \];<a name="highScore"></a>
|
||||
@ -524,13 +547,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$inputBotInlineMessageMediaGeo](../constructors/inputBotInlineMessageMediaGeo.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'period' => [int](../types/int.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="inputBotInlineMessageMediaGeo"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputBotInlineMessageMediaVenue](../constructors/inputBotInlineMessageMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="inputBotInlineMessageMediaVenue"></a>
|
||||
<br><br>[$inputBotInlineMessageMediaVenue](../constructors/inputBotInlineMessageMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'venue_type' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="inputBotInlineMessageMediaVenue"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputBotInlineMessageText](../constructors/inputBotInlineMessageText.md) = \['no_webpage' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="inputBotInlineMessageText"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputBotInlineResult](../constructors/inputBotInlineResult.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'send_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \];<a name="inputBotInlineResult"></a>
|
||||
<br><br>[$inputBotInlineResult](../constructors/inputBotInlineResult.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'url' => [string](../types/string.md), 'thumb' => [InputWebDocument](../types/InputWebDocument.md), 'content' => [InputWebDocument](../types/InputWebDocument.md), 'send_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \];<a name="inputBotInlineResult"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputBotInlineResultDocument](../constructors/inputBotInlineResultDocument.md) = \['id' => [string](../types/string.md), 'type' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'document' => [InputDocument](../types/InputDocument.md), 'send_message' => [InputBotInlineMessage](../types/InputBotInlineMessage.md), \];<a name="inputBotInlineResultDocument"></a>
|
||||
@ -556,6 +579,12 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$inputChatUploadedPhoto](../constructors/inputChatUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), \];<a name="inputChatUploadedPhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputClientProxy](../constructors/inputClientProxy.md) = \['address' => [string](../types/string.md), 'port' => [int](../types/int.md), \];<a name="inputClientProxy"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputDialogPeer](../constructors/inputDialogPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \];<a name="inputDialogPeer"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \];<a name="inputDocument"></a>
|
||||
|
||||
@ -706,9 +735,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$inputMessagesFilterVoice](../constructors/inputMessagesFilterVoice.md) = \[\];<a name="inputMessagesFilterVoice"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputNotifyAll](../constructors/inputNotifyAll.md) = \[\];<a name="inputNotifyAll"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputNotifyChats](../constructors/inputNotifyChats.md) = \[\];<a name="inputNotifyChats"></a>
|
||||
|
||||
@ -739,12 +765,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$inputPeerEmpty](../constructors/inputPeerEmpty.md) = \[\];<a name="inputPeerEmpty"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputPeerNotifyEventsAll](../constructors/inputPeerNotifyEventsAll.md) = \[\];<a name="inputPeerNotifyEventsAll"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputPeerNotifyEventsEmpty](../constructors/inputPeerNotifyEventsEmpty.md) = \[\];<a name="inputPeerNotifyEventsEmpty"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['show_previews' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), \];<a name="inputPeerNotifySettings"></a>
|
||||
|
||||
@ -805,6 +825,18 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$inputReportReasonViolence](../constructors/inputReportReasonViolence.md) = \[\];<a name="inputReportReasonViolence"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputSecureFile](../constructors/inputSecureFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \];<a name="inputSecureFile"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputSecureFileLocation](../constructors/inputSecureFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \];<a name="inputSecureFileLocation"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputSecureFileUploaded](../constructors/inputSecureFileUploaded.md) = \['id' => [long](../types/long.md), 'parts' => [int](../types/int.md), 'md5_checksum' => [string](../types/string.md), 'file_hash' => [bytes](../types/bytes.md), 'secret' => [bytes](../types/bytes.md), \];<a name="inputSecureFileUploaded"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputSecureValue](../constructors/inputSecureValue.md) = \['type' => [SecureValueType](../types/SecureValueType.md), 'data' => [SecureData](../types/SecureData.md), 'front_side' => [InputSecureFile](../types/InputSecureFile.md), 'reverse_side' => [InputSecureFile](../types/InputSecureFile.md), 'selfie' => [InputSecureFile](../types/InputSecureFile.md), 'files' => \[[InputSecureFile](../types/InputSecureFile.md)\], 'plain_data' => [SecurePlainData](../types/SecurePlainData.md), \];<a name="inputSecureValue"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputSingleMedia](../constructors/inputSingleMedia.md) = \['media' => [InputMedia](../types/InputMedia.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \];<a name="inputSingleMedia"></a>
|
||||
|
||||
@ -826,6 +858,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$inputStickeredMediaPhoto](../constructors/inputStickeredMediaPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), \];<a name="inputStickeredMediaPhoto"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputTakeoutFileLocation](../constructors/inputTakeoutFileLocation.md) = \[\];<a name="inputTakeoutFileLocation"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputUser](../constructors/inputUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \];<a name="inputUser"></a>
|
||||
|
||||
@ -844,6 +879,12 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$invoice](../constructors/invoice.md) = \['test' => [Bool](../types/Bool.md), 'name_requested' => [Bool](../types/Bool.md), 'phone_requested' => [Bool](../types/Bool.md), 'email_requested' => [Bool](../types/Bool.md), 'shipping_address_requested' => [Bool](../types/Bool.md), 'flexible' => [Bool](../types/Bool.md), 'phone_to_provider' => [Bool](../types/Bool.md), 'email_to_provider' => [Bool](../types/Bool.md), 'currency' => [string](../types/string.md), 'prices' => \[[LabeledPrice](../types/LabeledPrice.md)\], \];<a name="invoice"></a>
|
||||
|
||||
***
|
||||
<br><br>[$ipPort](../constructors/ipPort.md) = \['ipv4' => [int](../types/int.md), 'port' => [int](../types/int.md), \];<a name="ipPort"></a>
|
||||
|
||||
***
|
||||
<br><br>[$ipPortSecret](../constructors/ipPortSecret.md) = \['ipv4' => [int](../types/int.md), 'port' => [int](../types/int.md), 'secret' => [bytes](../types/bytes.md), \];<a name="ipPortSecret"></a>
|
||||
|
||||
***
|
||||
<br><br>[$keyboardButton](../constructors/keyboardButton.md) = \['text' => [string](../types/string.md), \];<a name="keyboardButton"></a>
|
||||
|
||||
@ -895,6 +936,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$message](../constructors/message.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from' => [MessageFwdHeader](../types/MessageFwdHeader.md), 'via_bot_id' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'views' => [int](../types/int.md), 'edit_date' => [int](../types/int.md), 'post_author' => [string](../types/string.md), 'grouped_id' => [long](../types/long.md), \];<a name="message"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageActionBotAllowed](../constructors/messageActionBotAllowed.md) = \['domain' => [string](../types/string.md), \];<a name="messageActionBotAllowed"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageActionChannelCreate](../constructors/messageActionChannelCreate.md) = \['title' => [string](../types/string.md), \];<a name="messageActionChannelCreate"></a>
|
||||
|
||||
@ -952,6 +996,12 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$messageActionScreenshotTaken](../constructors/messageActionScreenshotTaken.md) = \[\];<a name="messageActionScreenshotTaken"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageActionSecureValuesSent](../constructors/messageActionSecureValuesSent.md) = \['types' => \[[SecureValueType](../types/SecureValueType.md)\], \];<a name="messageActionSecureValuesSent"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageActionSecureValuesSentMe](../constructors/messageActionSecureValuesSentMe.md) = \['values' => \[[SecureValue](../types/SecureValue.md)\], 'credentials' => [SecureCredentialsEncrypted](../types/SecureCredentialsEncrypted.md), \];<a name="messageActionSecureValuesSentMe"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageEmpty](../constructors/messageEmpty.md) = \['id' => [int](../types/int.md), \];<a name="messageEmpty"></a>
|
||||
|
||||
@ -961,6 +1011,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$messageEntityBotCommand](../constructors/messageEntityBotCommand.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \];<a name="messageEntityBotCommand"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageEntityCashtag](../constructors/messageEntityCashtag.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \];<a name="messageEntityCashtag"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageEntityCode](../constructors/messageEntityCode.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \];<a name="messageEntityCode"></a>
|
||||
|
||||
@ -979,6 +1032,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$messageEntityMentionName](../constructors/messageEntityMentionName.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'user_id' => [int](../types/int.md), \];<a name="messageEntityMentionName"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageEntityPhone](../constructors/messageEntityPhone.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \];<a name="messageEntityPhone"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageEntityPre](../constructors/messageEntityPre.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'language' => [string](../types/string.md), \];<a name="messageEntityPre"></a>
|
||||
|
||||
@ -1074,6 +1130,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
[$messages\_foundGifs](../constructors/messages_foundGifs.md) = \['next_offset' => [int](../types/int.md), 'results' => \[[FoundGif](../types/FoundGif.md)\], \];<a name="messages_foundGifs"></a>
|
||||
|
||||
[$messages\_foundStickerSets](../constructors/messages_foundStickerSets.md) = \['hash' => [int](../types/int.md), 'sets' => \[[StickerSetCovered](../types/StickerSetCovered.md)\], \];<a name="messages_foundStickerSets"></a>
|
||||
|
||||
[$messages\_foundStickerSetsNotModified](../constructors/messages_foundStickerSetsNotModified.md) = \[\];<a name="messages_foundStickerSetsNotModified"></a>
|
||||
|
||||
[$messages\_highScores](../constructors/messages_highScores.md) = \['scores' => \[[HighScore](../types/HighScore.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="messages_highScores"></a>
|
||||
|
||||
[$messages\_messageEditData](../constructors/messages_messageEditData.md) = \['caption' => [Bool](../types/Bool.md), \];<a name="messages_messageEditData"></a>
|
||||
@ -1086,7 +1146,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \];<a name="messages_peerDialogs"></a>
|
||||
|
||||
[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \];<a name="messages_recentStickers"></a>
|
||||
[$messages\_recentStickers](../constructors/messages_recentStickers.md) = \['hash' => [int](../types/int.md), 'packs' => \[[StickerPack](../types/StickerPack.md)\], 'stickers' => \[[Document](../types/Document.md)\], 'dates' => \[[int](../types/int.md)\], \];<a name="messages_recentStickers"></a>
|
||||
|
||||
[$messages\_recentStickersNotModified](../constructors/messages_recentStickersNotModified.md) = \[\];<a name="messages_recentStickersNotModified"></a>
|
||||
|
||||
@ -1104,16 +1164,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
[$messages\_stickerSetInstallResultSuccess](../constructors/messages_stickerSetInstallResultSuccess.md) = \[\];<a name="messages_stickerSetInstallResultSuccess"></a>
|
||||
|
||||
[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [string](../types/string.md), 'stickers' => \[[Document](../types/Document.md)\], \];<a name="messages_stickers"></a>
|
||||
[$messages\_stickers](../constructors/messages_stickers.md) = \['hash' => [int](../types/int.md), 'stickers' => \[[Document](../types/Document.md)\], \];<a name="messages_stickers"></a>
|
||||
|
||||
[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\];<a name="messages_stickersNotModified"></a>
|
||||
|
||||
***
|
||||
<br><br>[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \];<a name="nearestDc"></a>
|
||||
|
||||
***
|
||||
<br><br>[$notifyAll](../constructors/notifyAll.md) = \[\];<a name="notifyAll"></a>
|
||||
|
||||
***
|
||||
<br><br>[$notifyChats](../constructors/notifyChats.md) = \[\];<a name="notifyChats"></a>
|
||||
|
||||
@ -1229,18 +1286,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$peerChat](../constructors/peerChat.md) = \['chat_id' => [int](../types/int.md), \];<a name="peerChat"></a>
|
||||
|
||||
***
|
||||
<br><br>[$peerNotifyEventsAll](../constructors/peerNotifyEventsAll.md) = \[\];<a name="peerNotifyEventsAll"></a>
|
||||
|
||||
***
|
||||
<br><br>[$peerNotifyEventsEmpty](../constructors/peerNotifyEventsEmpty.md) = \[\];<a name="peerNotifyEventsEmpty"></a>
|
||||
|
||||
***
|
||||
<br><br>[$peerNotifySettings](../constructors/peerNotifySettings.md) = \['show_previews' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), \];<a name="peerNotifySettings"></a>
|
||||
|
||||
***
|
||||
<br><br>[$peerNotifySettingsEmpty](../constructors/peerNotifySettingsEmpty.md) = \[\];<a name="peerNotifySettingsEmpty"></a>
|
||||
|
||||
***
|
||||
<br><br>[$peerSettings](../constructors/peerSettings.md) = \['report_spam' => [Bool](../types/Bool.md), \];<a name="peerSettings"></a>
|
||||
|
||||
@ -1371,6 +1419,90 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['resize' => [Bool](../types/Bool.md), 'single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), 'rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \];<a name="replyKeyboardMarkup"></a>
|
||||
|
||||
***
|
||||
<br><br>[$savedPhoneContact](../constructors/savedPhoneContact.md) = \['phone' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'date' => [int](../types/int.md), \];<a name="savedPhoneContact"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureCredentialsEncrypted](../constructors/secureCredentialsEncrypted.md) = \['data' => [bytes](../types/bytes.md), 'hash' => [bytes](../types/bytes.md), 'secret' => [bytes](../types/bytes.md), \];<a name="secureCredentialsEncrypted"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureData](../constructors/secureData.md) = \['data' => [bytes](../types/bytes.md), 'data_hash' => [bytes](../types/bytes.md), 'secret' => [bytes](../types/bytes.md), \];<a name="secureData"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureFile](../constructors/secureFile.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'file_hash' => [bytes](../types/bytes.md), 'secret' => [bytes](../types/bytes.md), \];<a name="secureFile"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureFileEmpty](../constructors/secureFileEmpty.md) = \[\];<a name="secureFileEmpty"></a>
|
||||
|
||||
***
|
||||
<br><br>[$securePlainEmail](../constructors/securePlainEmail.md) = \['email' => [string](../types/string.md), \];<a name="securePlainEmail"></a>
|
||||
|
||||
***
|
||||
<br><br>[$securePlainPhone](../constructors/securePlainPhone.md) = \['phone' => [string](../types/string.md), \];<a name="securePlainPhone"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValue](../constructors/secureValue.md) = \['type' => [SecureValueType](../types/SecureValueType.md), 'data' => [SecureData](../types/SecureData.md), 'front_side' => [SecureFile](../types/SecureFile.md), 'reverse_side' => [SecureFile](../types/SecureFile.md), 'selfie' => [SecureFile](../types/SecureFile.md), 'files' => \[[SecureFile](../types/SecureFile.md)\], 'plain_data' => [SecurePlainData](../types/SecurePlainData.md), 'hash' => [bytes](../types/bytes.md), \];<a name="secureValue"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueErrorData](../constructors/secureValueErrorData.md) = \['type' => [SecureValueType](../types/SecureValueType.md), 'data_hash' => [bytes](../types/bytes.md), 'field' => [string](../types/string.md), 'text' => [string](../types/string.md), \];<a name="secureValueErrorData"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueErrorFile](../constructors/secureValueErrorFile.md) = \['type' => [SecureValueType](../types/SecureValueType.md), 'file_hash' => [bytes](../types/bytes.md), 'text' => [string](../types/string.md), \];<a name="secureValueErrorFile"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueErrorFiles](../constructors/secureValueErrorFiles.md) = \['type' => [SecureValueType](../types/SecureValueType.md), 'file_hash' => \[[bytes](../types/bytes.md)\], 'text' => [string](../types/string.md), \];<a name="secureValueErrorFiles"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueErrorFrontSide](../constructors/secureValueErrorFrontSide.md) = \['type' => [SecureValueType](../types/SecureValueType.md), 'file_hash' => [bytes](../types/bytes.md), 'text' => [string](../types/string.md), \];<a name="secureValueErrorFrontSide"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueErrorReverseSide](../constructors/secureValueErrorReverseSide.md) = \['type' => [SecureValueType](../types/SecureValueType.md), 'file_hash' => [bytes](../types/bytes.md), 'text' => [string](../types/string.md), \];<a name="secureValueErrorReverseSide"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueErrorSelfie](../constructors/secureValueErrorSelfie.md) = \['type' => [SecureValueType](../types/SecureValueType.md), 'file_hash' => [bytes](../types/bytes.md), 'text' => [string](../types/string.md), \];<a name="secureValueErrorSelfie"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueHash](../constructors/secureValueHash.md) = \['type' => [SecureValueType](../types/SecureValueType.md), 'hash' => [bytes](../types/bytes.md), \];<a name="secureValueHash"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypeAddress](../constructors/secureValueTypeAddress.md) = \[\];<a name="secureValueTypeAddress"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypeBankStatement](../constructors/secureValueTypeBankStatement.md) = \[\];<a name="secureValueTypeBankStatement"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypeDriverLicense](../constructors/secureValueTypeDriverLicense.md) = \[\];<a name="secureValueTypeDriverLicense"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypeEmail](../constructors/secureValueTypeEmail.md) = \[\];<a name="secureValueTypeEmail"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypeIdentityCard](../constructors/secureValueTypeIdentityCard.md) = \[\];<a name="secureValueTypeIdentityCard"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypeInternalPassport](../constructors/secureValueTypeInternalPassport.md) = \[\];<a name="secureValueTypeInternalPassport"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypePassport](../constructors/secureValueTypePassport.md) = \[\];<a name="secureValueTypePassport"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypePassportRegistration](../constructors/secureValueTypePassportRegistration.md) = \[\];<a name="secureValueTypePassportRegistration"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypePersonalDetails](../constructors/secureValueTypePersonalDetails.md) = \[\];<a name="secureValueTypePersonalDetails"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypePhone](../constructors/secureValueTypePhone.md) = \[\];<a name="secureValueTypePhone"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypeRentalAgreement](../constructors/secureValueTypeRentalAgreement.md) = \[\];<a name="secureValueTypeRentalAgreement"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypeTemporaryRegistration](../constructors/secureValueTypeTemporaryRegistration.md) = \[\];<a name="secureValueTypeTemporaryRegistration"></a>
|
||||
|
||||
***
|
||||
<br><br>[$secureValueTypeUtilityBill](../constructors/secureValueTypeUtilityBill.md) = \[\];<a name="secureValueTypeUtilityBill"></a>
|
||||
|
||||
***
|
||||
<br><br>[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\];<a name="sendMessageCancelAction"></a>
|
||||
|
||||
@ -1420,7 +1552,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \];<a name="stickerPack"></a>
|
||||
|
||||
***
|
||||
<br><br>[$stickerSet](../constructors/stickerSet.md) = \['installed' => [Bool](../types/Bool.md), 'archived' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'masks' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \];<a name="stickerSet"></a>
|
||||
<br><br>[$stickerSet](../constructors/stickerSet.md) = \['archived' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'masks' => [Bool](../types/Bool.md), 'installed_date' => [int](../types/int.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \];<a name="stickerSet"></a>
|
||||
|
||||
***
|
||||
<br><br>[$stickerSetCovered](../constructors/stickerSetCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'cover' => [Document](../types/Document.md), \];<a name="stickerSetCovered"></a>
|
||||
@ -1588,7 +1720,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \];<a name="updateDeleteMessages"></a>
|
||||
|
||||
***
|
||||
<br><br>[$updateDialogPinned](../constructors/updateDialogPinned.md) = \['pinned' => [Bool](../types/Bool.md), 'peer' => [Peer](../types/Peer.md), \];<a name="updateDialogPinned"></a>
|
||||
<br><br>[$updateDialogPinned](../constructors/updateDialogPinned.md) = \['pinned' => [Bool](../types/Bool.md), 'peer' => [DialogPeer](../types/DialogPeer.md), \];<a name="updateDialogPinned"></a>
|
||||
|
||||
***
|
||||
<br><br>[$updateDraftMessage](../constructors/updateDraftMessage.md) = \['peer' => [Peer](../types/Peer.md), 'draft' => [DraftMessage](../types/DraftMessage.md), \];<a name="updateDraftMessage"></a>
|
||||
@ -1642,7 +1774,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$updatePhoneCall](../constructors/updatePhoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), \];<a name="updatePhoneCall"></a>
|
||||
|
||||
***
|
||||
<br><br>[$updatePinnedDialogs](../constructors/updatePinnedDialogs.md) = \['order' => \[[Peer](../types/Peer.md)\], \];<a name="updatePinnedDialogs"></a>
|
||||
<br><br>[$updatePinnedDialogs](../constructors/updatePinnedDialogs.md) = \['order' => \[[DialogPeer](../types/DialogPeer.md)\], \];<a name="updatePinnedDialogs"></a>
|
||||
|
||||
***
|
||||
<br><br>[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \];<a name="updatePrivacy"></a>
|
||||
@ -1749,7 +1881,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
[$upload\_file](../constructors/upload_file.md) = \['type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \];<a name="upload_file"></a>
|
||||
|
||||
[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'cdn_file_hashes' => \[[CdnFileHash](../types/CdnFileHash.md)\], \];<a name="upload_fileCdnRedirect"></a>
|
||||
[$upload\_fileCdnRedirect](../constructors/upload_fileCdnRedirect.md) = \['dc_id' => [int](../types/int.md), 'file_token' => [bytes](../types/bytes.md), 'encryption_key' => [bytes](../types/bytes.md), 'encryption_iv' => [bytes](../types/bytes.md), 'file_hashes' => \[[FileHash](../types/FileHash.md)\], \];<a name="upload_fileCdnRedirect"></a>
|
||||
|
||||
[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \];<a name="upload_webFile"></a>
|
||||
|
||||
@ -1798,6 +1930,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$webDocument](../constructors/webDocument.md) = \['url' => [string](../types/string.md), 'access_hash' => [long](../types/long.md), 'size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], 'dc_id' => [int](../types/int.md), \];<a name="webDocument"></a>
|
||||
|
||||
***
|
||||
<br><br>[$webDocumentNoProxy](../constructors/webDocumentNoProxy.md) = \['url' => [string](../types/string.md), 'size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \];<a name="webDocumentNoProxy"></a>
|
||||
|
||||
***
|
||||
<br><br>[$webPage](../constructors/webPage.md) = \['id' => [long](../types/long.md), 'url' => [string](../types/string.md), 'display_url' => [string](../types/string.md), 'hash' => [int](../types/int.md), 'type' => [string](../types/string.md), 'site_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'embed_url' => [string](../types/string.md), 'embed_type' => [string](../types/string.md), 'embed_width' => [int](../types/int.md), 'embed_height' => [int](../types/int.md), 'duration' => [int](../types/int.md), 'author' => [string](../types/string.md), 'document' => [Document](../types/Document.md), 'cached_page' => [Page](../types/Page.md), \];<a name="webPage"></a>
|
||||
|
||||
|
@ -17,6 +17,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|address|[string](../types/string.md) | Yes|
|
||||
|provider|[string](../types/string.md) | Yes|
|
||||
|venue\_id|[string](../types/string.md) | Yes|
|
||||
|venue\_type|[string](../types/string.md) | Yes|
|
||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||
|
||||
|
||||
@ -27,13 +28,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup];
|
||||
$inputBotInlineMessageMediaVenue = ['_' => 'inputBotInlineMessageMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string', 'reply_markup' => ReplyMarkup];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "inputBotInlineMessageMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "reply_markup": ReplyMarkup}
|
||||
{"_": "inputBotInlineMessageMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "venue_type": "string", "reply_markup": ReplyMarkup}
|
||||
```
|
||||
|
||||
|
||||
@ -41,7 +42,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup}
|
||||
inputBotInlineMessageMediaVenue={_='inputBotInlineMessageMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string', reply_markup=ReplyMarkup}
|
||||
|
||||
```
|
||||
|
||||
|
@ -17,12 +17,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|title|[string](../types/string.md) | Optional|
|
||||
|description|[string](../types/string.md) | Optional|
|
||||
|url|[string](../types/string.md) | Optional|
|
||||
|thumb\_url|[string](../types/string.md) | Optional|
|
||||
|content\_url|[string](../types/string.md) | Optional|
|
||||
|content\_type|[string](../types/string.md) | Optional|
|
||||
|w|[int](../types/int.md) | Optional|
|
||||
|h|[int](../types/int.md) | Optional|
|
||||
|duration|[int](../types/int.md) | Optional|
|
||||
|thumb|[InputWebDocument](../types/InputWebDocument.md) | Optional|
|
||||
|content|[InputWebDocument](../types/InputWebDocument.md) | Optional|
|
||||
|send\_message|[InputBotInlineMessage](../types/InputBotInlineMessage.md) | Yes|
|
||||
|
||||
|
||||
@ -33,13 +29,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => InputBotInlineMessage];
|
||||
$inputBotInlineResult = ['_' => 'inputBotInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => InputWebDocument, 'content' => InputWebDocument, 'send_message' => InputBotInlineMessage];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb_url": "string", "content_url": "string", "content_type": "string", "w": int, "h": int, "duration": int, "send_message": InputBotInlineMessage}
|
||||
{"_": "inputBotInlineResult", "id": "string", "type": "string", "title": "string", "description": "string", "url": "string", "thumb": InputWebDocument, "content": InputWebDocument, "send_message": InputBotInlineMessage}
|
||||
```
|
||||
|
||||
|
||||
@ -47,7 +43,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb_url='string', content_url='string', content_type='string', w=int, h=int, duration=int, send_message=InputBotInlineMessage}
|
||||
inputBotInlineResult={_='inputBotInlineResult', id='string', type='string', title='string', description='string', url='string', thumb=InputWebDocument, content=InputWebDocument, send_message=InputBotInlineMessage}
|
||||
|
||||
```
|
||||
|
||||
|
44
docs/API_docs/constructors/inputClientProxy.md
Normal file
44
docs/API_docs/constructors/inputClientProxy.md
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
title: inputClientProxy
|
||||
description: inputClientProxy attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: inputClientProxy
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|address|[string](../types/string.md) | Yes|
|
||||
|port|[int](../types/int.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [InputClientProxy](../types/InputClientProxy.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$inputClientProxy = ['_' => 'inputClientProxy', 'address' => 'string', 'port' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "inputClientProxy", "address": "string", "port": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
inputClientProxy={_='inputClientProxy', address='string', port=int}
|
||||
|
||||
```
|
||||
|
||||
|
43
docs/API_docs/constructors/inputDialogPeer.md
Normal file
43
docs/API_docs/constructors/inputDialogPeer.md
Normal file
@ -0,0 +1,43 @@
|
||||
---
|
||||
title: inputDialogPeer
|
||||
description: inputDialogPeer attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: inputDialogPeer
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||
|
||||
|
||||
|
||||
### Type: [InputDialogPeer](../types/InputDialogPeer.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$inputDialogPeer = ['_' => 'inputDialogPeer', 'peer' => InputPeer];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "inputDialogPeer", "peer": InputPeer}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
inputDialogPeer={_='inputDialogPeer', peer=InputPeer}
|
||||
|
||||
```
|
||||
|
||||
|
@ -14,8 +14,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|----------|---------------|----------|
|
||||
|show\_previews|[Bool](../types/Bool.md) | Optional|
|
||||
|silent|[Bool](../types/Bool.md) | Optional|
|
||||
|mute\_until|[int](../types/int.md) | Yes|
|
||||
|sound|[string](../types/string.md) | Yes|
|
||||
|mute\_until|[int](../types/int.md) | Optional|
|
||||
|sound|[string](../types/string.md) | Optional|
|
||||
|
||||
|
||||
|
||||
|
44
docs/API_docs/constructors/inputSecureFile.md
Normal file
44
docs/API_docs/constructors/inputSecureFile.md
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
title: inputSecureFile
|
||||
description: inputSecureFile attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: inputSecureFile
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|id|[long](../types/long.md) | Yes|
|
||||
|access\_hash|[long](../types/long.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [InputSecureFile](../types/InputSecureFile.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$inputSecureFile = ['_' => 'inputSecureFile', 'id' => long, 'access_hash' => long];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "inputSecureFile", "id": long, "access_hash": long}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
inputSecureFile={_='inputSecureFile', id=long, access_hash=long}
|
||||
|
||||
```
|
||||
|
||||
|
44
docs/API_docs/constructors/inputSecureFileLocation.md
Normal file
44
docs/API_docs/constructors/inputSecureFileLocation.md
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
title: inputSecureFileLocation
|
||||
description: inputSecureFileLocation attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: inputSecureFileLocation
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|id|[long](../types/long.md) | Yes|
|
||||
|access\_hash|[long](../types/long.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [InputFileLocation](../types/InputFileLocation.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$inputSecureFileLocation = ['_' => 'inputSecureFileLocation', 'id' => long, 'access_hash' => long];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "inputSecureFileLocation", "id": long, "access_hash": long}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
inputSecureFileLocation={_='inputSecureFileLocation', id=long, access_hash=long}
|
||||
|
||||
```
|
||||
|
||||
|
47
docs/API_docs/constructors/inputSecureFileUploaded.md
Normal file
47
docs/API_docs/constructors/inputSecureFileUploaded.md
Normal file
@ -0,0 +1,47 @@
|
||||
---
|
||||
title: inputSecureFileUploaded
|
||||
description: inputSecureFileUploaded attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: inputSecureFileUploaded
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|id|[long](../types/long.md) | Yes|
|
||||
|parts|[int](../types/int.md) | Yes|
|
||||
|md5\_checksum|[string](../types/string.md) | Yes|
|
||||
|file\_hash|[bytes](../types/bytes.md) | Yes|
|
||||
|secret|[bytes](../types/bytes.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [InputSecureFile](../types/InputSecureFile.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$inputSecureFileUploaded = ['_' => 'inputSecureFileUploaded', 'id' => long, 'parts' => int, 'md5_checksum' => 'string', 'file_hash' => 'bytes', 'secret' => 'bytes'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "inputSecureFileUploaded", "id": long, "parts": int, "md5_checksum": "string", "file_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secret": {"_": "bytes", "bytes":"base64 encoded bytes"}}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
inputSecureFileUploaded={_='inputSecureFileUploaded', id=long, parts=int, md5_checksum='string', file_hash='bytes', secret='bytes'}
|
||||
|
||||
```
|
||||
|
||||
|
49
docs/API_docs/constructors/inputSecureValue.md
Normal file
49
docs/API_docs/constructors/inputSecureValue.md
Normal file
@ -0,0 +1,49 @@
|
||||
---
|
||||
title: inputSecureValue
|
||||
description: inputSecureValue attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: inputSecureValue
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|type|[SecureValueType](../types/SecureValueType.md) | Yes|
|
||||
|data|[SecureData](../types/SecureData.md) | Optional|
|
||||
|front\_side|[InputSecureFile](../types/InputSecureFile.md) | Optional|
|
||||
|reverse\_side|[InputSecureFile](../types/InputSecureFile.md) | Optional|
|
||||
|selfie|[InputSecureFile](../types/InputSecureFile.md) | Optional|
|
||||
|files|Array of [InputSecureFile](../types/InputSecureFile.md) | Optional|
|
||||
|plain\_data|[SecurePlainData](../types/SecurePlainData.md) | Optional|
|
||||
|
||||
|
||||
|
||||
### Type: [InputSecureValue](../types/InputSecureValue.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$inputSecureValue = ['_' => 'inputSecureValue', 'type' => SecureValueType, 'data' => SecureData, 'front_side' => InputSecureFile, 'reverse_side' => InputSecureFile, 'selfie' => InputSecureFile, 'files' => [InputSecureFile, InputSecureFile], 'plain_data' => SecurePlainData];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "inputSecureValue", "type": SecureValueType, "data": SecureData, "front_side": InputSecureFile, "reverse_side": InputSecureFile, "selfie": InputSecureFile, "files": [InputSecureFile], "plain_data": SecurePlainData}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
inputSecureValue={_='inputSecureValue', type=SecureValueType, data=SecureData, front_side=InputSecureFile, reverse_side=InputSecureFile, selfie=InputSecureFile, files={InputSecureFile}, plain_data=SecurePlainData}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/inputTakeoutFileLocation.md
Normal file
38
docs/API_docs/constructors/inputTakeoutFileLocation.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: inputTakeoutFileLocation
|
||||
description: inputTakeoutFileLocation attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: inputTakeoutFileLocation
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [InputFileLocation](../types/InputFileLocation.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$inputTakeoutFileLocation = ['_' => 'inputTakeoutFileLocation'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "inputTakeoutFileLocation"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
inputTakeoutFileLocation={_='inputTakeoutFileLocation'}
|
||||
|
||||
```
|
||||
|
||||
|
44
docs/API_docs/constructors/ipPort.md
Normal file
44
docs/API_docs/constructors/ipPort.md
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
title: ipPort
|
||||
description: ipPort attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: ipPort
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|ipv4|[int](../types/int.md) | Yes|
|
||||
|port|[int](../types/int.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [IpPort](../types/IpPort.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "ipPort", "ipv4": int, "port": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
ipPort={_='ipPort', ipv4=int, port=int}
|
||||
|
||||
```
|
||||
|
||||
|
45
docs/API_docs/constructors/ipPortSecret.md
Normal file
45
docs/API_docs/constructors/ipPortSecret.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: ipPortSecret
|
||||
description: ipPortSecret attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: ipPortSecret
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|ipv4|[int](../types/int.md) | Yes|
|
||||
|port|[int](../types/int.md) | Yes|
|
||||
|secret|[bytes](../types/bytes.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [IpPort](../types/IpPort.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$ipPortSecret = ['_' => 'ipPortSecret', 'ipv4' => int, 'port' => int, 'secret' => 'bytes'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "ipPortSecret", "ipv4": int, "port": int, "secret": {"_": "bytes", "bytes":"base64 encoded bytes"}}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
ipPortSecret={_='ipPortSecret', ipv4=int, port=int, secret='bytes'}
|
||||
|
||||
```
|
||||
|
||||
|
43
docs/API_docs/constructors/messageActionBotAllowed.md
Normal file
43
docs/API_docs/constructors/messageActionBotAllowed.md
Normal file
@ -0,0 +1,43 @@
|
||||
---
|
||||
title: messageActionBotAllowed
|
||||
description: messageActionBotAllowed attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: messageActionBotAllowed
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|domain|[string](../types/string.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [MessageAction](../types/MessageAction.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messageActionBotAllowed = ['_' => 'messageActionBotAllowed', 'domain' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "messageActionBotAllowed", "domain": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
messageActionBotAllowed={_='messageActionBotAllowed', domain='string'}
|
||||
|
||||
```
|
||||
|
||||
|
43
docs/API_docs/constructors/messageActionSecureValuesSent.md
Normal file
43
docs/API_docs/constructors/messageActionSecureValuesSent.md
Normal file
@ -0,0 +1,43 @@
|
||||
---
|
||||
title: messageActionSecureValuesSent
|
||||
description: messageActionSecureValuesSent attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: messageActionSecureValuesSent
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|types|Array of [SecureValueType](../types/SecureValueType.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [MessageAction](../types/MessageAction.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messageActionSecureValuesSent = ['_' => 'messageActionSecureValuesSent', 'types' => [SecureValueType, SecureValueType]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "messageActionSecureValuesSent", "types": [SecureValueType]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
messageActionSecureValuesSent={_='messageActionSecureValuesSent', types={SecureValueType}}
|
||||
|
||||
```
|
||||
|
||||
|
@ -0,0 +1,44 @@
|
||||
---
|
||||
title: messageActionSecureValuesSentMe
|
||||
description: messageActionSecureValuesSentMe attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: messageActionSecureValuesSentMe
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|values|Array of [SecureValue](../types/SecureValue.md) | Yes|
|
||||
|credentials|[SecureCredentialsEncrypted](../types/SecureCredentialsEncrypted.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [MessageAction](../types/MessageAction.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messageActionSecureValuesSentMe = ['_' => 'messageActionSecureValuesSentMe', 'values' => [SecureValue, SecureValue], 'credentials' => SecureCredentialsEncrypted];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "messageActionSecureValuesSentMe", "values": [SecureValue], "credentials": SecureCredentialsEncrypted}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
messageActionSecureValuesSentMe={_='messageActionSecureValuesSentMe', values={SecureValue}, credentials=SecureCredentialsEncrypted}
|
||||
|
||||
```
|
||||
|
||||
|
44
docs/API_docs/constructors/messageEntityCashtag.md
Normal file
44
docs/API_docs/constructors/messageEntityCashtag.md
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
title: messageEntityCashtag
|
||||
description: messageEntityCashtag attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: messageEntityCashtag
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|offset|[int](../types/int.md) | Yes|
|
||||
|length|[int](../types/int.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [MessageEntity](../types/MessageEntity.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messageEntityCashtag = ['_' => 'messageEntityCashtag', 'offset' => int, 'length' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "messageEntityCashtag", "offset": int, "length": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
messageEntityCashtag={_='messageEntityCashtag', offset=int, length=int}
|
||||
|
||||
```
|
||||
|
||||
|
44
docs/API_docs/constructors/messageEntityPhone.md
Normal file
44
docs/API_docs/constructors/messageEntityPhone.md
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
title: messageEntityPhone
|
||||
description: messageEntityPhone attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: messageEntityPhone
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|offset|[int](../types/int.md) | Yes|
|
||||
|length|[int](../types/int.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [MessageEntity](../types/MessageEntity.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messageEntityPhone = ['_' => 'messageEntityPhone', 'offset' => int, 'length' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "messageEntityPhone", "offset": int, "length": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
messageEntityPhone={_='messageEntityPhone', offset=int, length=int}
|
||||
|
||||
```
|
||||
|
||||
|
44
docs/API_docs/constructors/messages_foundStickerSets.md
Normal file
44
docs/API_docs/constructors/messages_foundStickerSets.md
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
title: messages.foundStickerSets
|
||||
description: messages_foundStickerSets attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: messages.foundStickerSets
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|hash|[int](../types/int.md) | Yes|
|
||||
|sets|Array of [StickerSetCovered](../types/StickerSetCovered.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messages_foundStickerSets = ['_' => 'messages.foundStickerSets', 'hash' => int, 'sets' => [StickerSetCovered, StickerSetCovered]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "messages.foundStickerSets", "hash": int, "sets": [StickerSetCovered]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
messages_foundStickerSets={_='messages.foundStickerSets', hash=int, sets={StickerSetCovered}}
|
||||
|
||||
```
|
||||
|
||||
|
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: messages.foundStickerSetsNotModified
|
||||
description: messages_foundStickerSetsNotModified attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: messages.foundStickerSetsNotModified
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [messages\_FoundStickerSets](../types/messages_FoundStickerSets.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messages_foundStickerSetsNotModified = ['_' => 'messages.foundStickerSetsNotModified'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "messages.foundStickerSetsNotModified"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
messages_foundStickerSetsNotModified={_='messages.foundStickerSetsNotModified'}
|
||||
|
||||
```
|
||||
|
||||
|
@ -13,7 +13,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|hash|[int](../types/int.md) | Yes|
|
||||
|packs|Array of [StickerPack](../types/StickerPack.md) | Yes|
|
||||
|stickers|Array of [Document](../types/Document.md) | Yes|
|
||||
|dates|Array of [int](../types/int.md) | Yes|
|
||||
|
||||
|
||||
|
||||
@ -23,13 +25,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'stickers' => [Document, Document]];
|
||||
$messages_recentStickers = ['_' => 'messages.recentStickers', 'hash' => int, 'packs' => [StickerPack, StickerPack], 'stickers' => [Document, Document], 'dates' => [int, int]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "messages.recentStickers", "hash": int, "stickers": [Document]}
|
||||
{"_": "messages.recentStickers", "hash": int, "packs": [StickerPack], "stickers": [Document], "dates": [int]}
|
||||
```
|
||||
|
||||
|
||||
@ -37,7 +39,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
messages_recentStickers={_='messages.recentStickers', hash=int, stickers={Document}}
|
||||
messages_recentStickers={_='messages.recentStickers', hash=int, packs={StickerPack}, stickers={Document}, dates={int}}
|
||||
|
||||
```
|
||||
|
||||
|
@ -12,7 +12,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|hash|[string](../types/string.md) | Yes|
|
||||
|hash|[int](../types/int.md) | Yes|
|
||||
|stickers|Array of [Document](../types/Document.md) | Yes|
|
||||
|
||||
|
||||
@ -23,13 +23,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messages_stickers = ['_' => 'messages.stickers', 'hash' => 'string', 'stickers' => [Document, Document]];
|
||||
$messages_stickers = ['_' => 'messages.stickers', 'hash' => int, 'stickers' => [Document, Document]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "messages.stickers", "hash": "string", "stickers": [Document]}
|
||||
{"_": "messages.stickers", "hash": int, "stickers": [Document]}
|
||||
```
|
||||
|
||||
|
||||
@ -37,7 +37,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
messages_stickers={_='messages.stickers', hash='string', stickers={Document}}
|
||||
messages_stickers={_='messages.stickers', hash=int, stickers={Document}}
|
||||
|
||||
```
|
||||
|
||||
|
@ -14,8 +14,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|----------|---------------|----------|
|
||||
|show\_previews|[Bool](../types/Bool.md) | Optional|
|
||||
|silent|[Bool](../types/Bool.md) | Optional|
|
||||
|mute\_until|[int](../types/int.md) | Yes|
|
||||
|sound|[string](../types/string.md) | Yes|
|
||||
|mute\_until|[int](../types/int.md) | Optional|
|
||||
|sound|[string](../types/string.md) | Optional|
|
||||
|
||||
|
||||
|
||||
|
46
docs/API_docs/constructors/savedPhoneContact.md
Normal file
46
docs/API_docs/constructors/savedPhoneContact.md
Normal file
@ -0,0 +1,46 @@
|
||||
---
|
||||
title: savedPhoneContact
|
||||
description: savedPhoneContact attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: savedPhoneContact
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|phone|[string](../types/string.md) | Yes|
|
||||
|first\_name|[string](../types/string.md) | Yes|
|
||||
|last\_name|[string](../types/string.md) | Yes|
|
||||
|date|[int](../types/int.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SavedContact](../types/SavedContact.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$savedPhoneContact = ['_' => 'savedPhoneContact', 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'date' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "savedPhoneContact", "phone": "string", "first_name": "string", "last_name": "string", "date": int}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
savedPhoneContact={_='savedPhoneContact', phone='string', first_name='string', last_name='string', date=int}
|
||||
|
||||
```
|
||||
|
||||
|
45
docs/API_docs/constructors/secureCredentialsEncrypted.md
Normal file
45
docs/API_docs/constructors/secureCredentialsEncrypted.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: secureCredentialsEncrypted
|
||||
description: secureCredentialsEncrypted attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureCredentialsEncrypted
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|data|[bytes](../types/bytes.md) | Yes|
|
||||
|hash|[bytes](../types/bytes.md) | Yes|
|
||||
|secret|[bytes](../types/bytes.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecureCredentialsEncrypted](../types/SecureCredentialsEncrypted.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureCredentialsEncrypted = ['_' => 'secureCredentialsEncrypted', 'data' => 'bytes', 'hash' => 'bytes', 'secret' => 'bytes'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureCredentialsEncrypted", "data": {"_": "bytes", "bytes":"base64 encoded bytes"}, "hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secret": {"_": "bytes", "bytes":"base64 encoded bytes"}}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureCredentialsEncrypted={_='secureCredentialsEncrypted', data='bytes', hash='bytes', secret='bytes'}
|
||||
|
||||
```
|
||||
|
||||
|
45
docs/API_docs/constructors/secureData.md
Normal file
45
docs/API_docs/constructors/secureData.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: secureData
|
||||
description: secureData attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureData
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|data|[bytes](../types/bytes.md) | Yes|
|
||||
|data\_hash|[bytes](../types/bytes.md) | Yes|
|
||||
|secret|[bytes](../types/bytes.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecureData](../types/SecureData.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureData = ['_' => 'secureData', 'data' => 'bytes', 'data_hash' => 'bytes', 'secret' => 'bytes'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureData", "data": {"_": "bytes", "bytes":"base64 encoded bytes"}, "data_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secret": {"_": "bytes", "bytes":"base64 encoded bytes"}}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureData={_='secureData', data='bytes', data_hash='bytes', secret='bytes'}
|
||||
|
||||
```
|
||||
|
||||
|
49
docs/API_docs/constructors/secureFile.md
Normal file
49
docs/API_docs/constructors/secureFile.md
Normal file
@ -0,0 +1,49 @@
|
||||
---
|
||||
title: secureFile
|
||||
description: secureFile attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureFile
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|id|[long](../types/long.md) | Yes|
|
||||
|access\_hash|[long](../types/long.md) | Yes|
|
||||
|size|[int](../types/int.md) | Yes|
|
||||
|dc\_id|[int](../types/int.md) | Yes|
|
||||
|date|[int](../types/int.md) | Yes|
|
||||
|file\_hash|[bytes](../types/bytes.md) | Yes|
|
||||
|secret|[bytes](../types/bytes.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecureFile](../types/SecureFile.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureFile = ['_' => 'secureFile', 'id' => long, 'access_hash' => long, 'size' => int, 'dc_id' => int, 'date' => int, 'file_hash' => 'bytes', 'secret' => 'bytes'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureFile", "id": long, "access_hash": long, "size": int, "dc_id": int, "date": int, "file_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "secret": {"_": "bytes", "bytes":"base64 encoded bytes"}}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureFile={_='secureFile', id=long, access_hash=long, size=int, dc_id=int, date=int, file_hash='bytes', secret='bytes'}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/secureFileEmpty.md
Normal file
38
docs/API_docs/constructors/secureFileEmpty.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureFileEmpty
|
||||
description: secureFileEmpty attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureFileEmpty
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureFile](../types/SecureFile.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureFileEmpty = ['_' => 'secureFileEmpty'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureFileEmpty"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureFileEmpty={_='secureFileEmpty'}
|
||||
|
||||
```
|
||||
|
||||
|
43
docs/API_docs/constructors/securePlainEmail.md
Normal file
43
docs/API_docs/constructors/securePlainEmail.md
Normal file
@ -0,0 +1,43 @@
|
||||
---
|
||||
title: securePlainEmail
|
||||
description: securePlainEmail attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: securePlainEmail
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|email|[string](../types/string.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecurePlainData](../types/SecurePlainData.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$securePlainEmail = ['_' => 'securePlainEmail', 'email' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "securePlainEmail", "email": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
securePlainEmail={_='securePlainEmail', email='string'}
|
||||
|
||||
```
|
||||
|
||||
|
43
docs/API_docs/constructors/securePlainPhone.md
Normal file
43
docs/API_docs/constructors/securePlainPhone.md
Normal file
@ -0,0 +1,43 @@
|
||||
---
|
||||
title: securePlainPhone
|
||||
description: securePlainPhone attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: securePlainPhone
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|phone|[string](../types/string.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecurePlainData](../types/SecurePlainData.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$securePlainPhone = ['_' => 'securePlainPhone', 'phone' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "securePlainPhone", "phone": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
securePlainPhone={_='securePlainPhone', phone='string'}
|
||||
|
||||
```
|
||||
|
||||
|
50
docs/API_docs/constructors/secureValue.md
Normal file
50
docs/API_docs/constructors/secureValue.md
Normal file
@ -0,0 +1,50 @@
|
||||
---
|
||||
title: secureValue
|
||||
description: secureValue attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValue
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|type|[SecureValueType](../types/SecureValueType.md) | Yes|
|
||||
|data|[SecureData](../types/SecureData.md) | Optional|
|
||||
|front\_side|[SecureFile](../types/SecureFile.md) | Optional|
|
||||
|reverse\_side|[SecureFile](../types/SecureFile.md) | Optional|
|
||||
|selfie|[SecureFile](../types/SecureFile.md) | Optional|
|
||||
|files|Array of [SecureFile](../types/SecureFile.md) | Optional|
|
||||
|plain\_data|[SecurePlainData](../types/SecurePlainData.md) | Optional|
|
||||
|hash|[bytes](../types/bytes.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValue](../types/SecureValue.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValue = ['_' => 'secureValue', 'type' => SecureValueType, 'data' => SecureData, 'front_side' => SecureFile, 'reverse_side' => SecureFile, 'selfie' => SecureFile, 'files' => [SecureFile, SecureFile], 'plain_data' => SecurePlainData, 'hash' => 'bytes'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValue", "type": SecureValueType, "data": SecureData, "front_side": SecureFile, "reverse_side": SecureFile, "selfie": SecureFile, "files": [SecureFile], "plain_data": SecurePlainData, "hash": {"_": "bytes", "bytes":"base64 encoded bytes"}}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValue={_='secureValue', type=SecureValueType, data=SecureData, front_side=SecureFile, reverse_side=SecureFile, selfie=SecureFile, files={SecureFile}, plain_data=SecurePlainData, hash='bytes'}
|
||||
|
||||
```
|
||||
|
||||
|
46
docs/API_docs/constructors/secureValueErrorData.md
Normal file
46
docs/API_docs/constructors/secureValueErrorData.md
Normal file
@ -0,0 +1,46 @@
|
||||
---
|
||||
title: secureValueErrorData
|
||||
description: secureValueErrorData attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueErrorData
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|type|[SecureValueType](../types/SecureValueType.md) | Yes|
|
||||
|data\_hash|[bytes](../types/bytes.md) | Yes|
|
||||
|field|[string](../types/string.md) | Yes|
|
||||
|text|[string](../types/string.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueError](../types/SecureValueError.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueErrorData = ['_' => 'secureValueErrorData', 'type' => SecureValueType, 'data_hash' => 'bytes', 'field' => 'string', 'text' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueErrorData", "type": SecureValueType, "data_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "field": "string", "text": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueErrorData={_='secureValueErrorData', type=SecureValueType, data_hash='bytes', field='string', text='string'}
|
||||
|
||||
```
|
||||
|
||||
|
45
docs/API_docs/constructors/secureValueErrorFile.md
Normal file
45
docs/API_docs/constructors/secureValueErrorFile.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: secureValueErrorFile
|
||||
description: secureValueErrorFile attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueErrorFile
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|type|[SecureValueType](../types/SecureValueType.md) | Yes|
|
||||
|file\_hash|[bytes](../types/bytes.md) | Yes|
|
||||
|text|[string](../types/string.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueError](../types/SecureValueError.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueErrorFile = ['_' => 'secureValueErrorFile', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueErrorFile", "type": SecureValueType, "file_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "text": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueErrorFile={_='secureValueErrorFile', type=SecureValueType, file_hash='bytes', text='string'}
|
||||
|
||||
```
|
||||
|
||||
|
45
docs/API_docs/constructors/secureValueErrorFiles.md
Normal file
45
docs/API_docs/constructors/secureValueErrorFiles.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: secureValueErrorFiles
|
||||
description: secureValueErrorFiles attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueErrorFiles
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|type|[SecureValueType](../types/SecureValueType.md) | Yes|
|
||||
|file\_hash|Array of [bytes](../types/bytes.md) | Yes|
|
||||
|text|[string](../types/string.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueError](../types/SecureValueError.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueErrorFiles = ['_' => 'secureValueErrorFiles', 'type' => SecureValueType, 'file_hash' => ['bytes', 'bytes'], 'text' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueErrorFiles", "type": SecureValueType, "file_hash": [{"_": "bytes", "bytes":"base64 encoded bytes"}], "text": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueErrorFiles={_='secureValueErrorFiles', type=SecureValueType, file_hash={'bytes'}, text='string'}
|
||||
|
||||
```
|
||||
|
||||
|
45
docs/API_docs/constructors/secureValueErrorFrontSide.md
Normal file
45
docs/API_docs/constructors/secureValueErrorFrontSide.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: secureValueErrorFrontSide
|
||||
description: secureValueErrorFrontSide attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueErrorFrontSide
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|type|[SecureValueType](../types/SecureValueType.md) | Yes|
|
||||
|file\_hash|[bytes](../types/bytes.md) | Yes|
|
||||
|text|[string](../types/string.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueError](../types/SecureValueError.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueErrorFrontSide = ['_' => 'secureValueErrorFrontSide', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueErrorFrontSide", "type": SecureValueType, "file_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "text": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueErrorFrontSide={_='secureValueErrorFrontSide', type=SecureValueType, file_hash='bytes', text='string'}
|
||||
|
||||
```
|
||||
|
||||
|
45
docs/API_docs/constructors/secureValueErrorReverseSide.md
Normal file
45
docs/API_docs/constructors/secureValueErrorReverseSide.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: secureValueErrorReverseSide
|
||||
description: secureValueErrorReverseSide attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueErrorReverseSide
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|type|[SecureValueType](../types/SecureValueType.md) | Yes|
|
||||
|file\_hash|[bytes](../types/bytes.md) | Yes|
|
||||
|text|[string](../types/string.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueError](../types/SecureValueError.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueErrorReverseSide = ['_' => 'secureValueErrorReverseSide', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueErrorReverseSide", "type": SecureValueType, "file_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "text": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueErrorReverseSide={_='secureValueErrorReverseSide', type=SecureValueType, file_hash='bytes', text='string'}
|
||||
|
||||
```
|
||||
|
||||
|
45
docs/API_docs/constructors/secureValueErrorSelfie.md
Normal file
45
docs/API_docs/constructors/secureValueErrorSelfie.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
title: secureValueErrorSelfie
|
||||
description: secureValueErrorSelfie attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueErrorSelfie
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|type|[SecureValueType](../types/SecureValueType.md) | Yes|
|
||||
|file\_hash|[bytes](../types/bytes.md) | Yes|
|
||||
|text|[string](../types/string.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueError](../types/SecureValueError.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueErrorSelfie = ['_' => 'secureValueErrorSelfie', 'type' => SecureValueType, 'file_hash' => 'bytes', 'text' => 'string'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueErrorSelfie", "type": SecureValueType, "file_hash": {"_": "bytes", "bytes":"base64 encoded bytes"}, "text": "string"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueErrorSelfie={_='secureValueErrorSelfie', type=SecureValueType, file_hash='bytes', text='string'}
|
||||
|
||||
```
|
||||
|
||||
|
44
docs/API_docs/constructors/secureValueHash.md
Normal file
44
docs/API_docs/constructors/secureValueHash.md
Normal file
@ -0,0 +1,44 @@
|
||||
---
|
||||
title: secureValueHash
|
||||
description: secureValueHash attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueHash
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|type|[SecureValueType](../types/SecureValueType.md) | Yes|
|
||||
|hash|[bytes](../types/bytes.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueHash](../types/SecureValueHash.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueHash = ['_' => 'secureValueHash', 'type' => SecureValueType, 'hash' => 'bytes'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueHash", "type": SecureValueType, "hash": {"_": "bytes", "bytes":"base64 encoded bytes"}}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueHash={_='secureValueHash', type=SecureValueType, hash='bytes'}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/secureValueTypeAddress.md
Normal file
38
docs/API_docs/constructors/secureValueTypeAddress.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypeAddress
|
||||
description: secureValueTypeAddress attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypeAddress
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypeAddress = ['_' => 'secureValueTypeAddress'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypeAddress"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypeAddress={_='secureValueTypeAddress'}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/secureValueTypeBankStatement.md
Normal file
38
docs/API_docs/constructors/secureValueTypeBankStatement.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypeBankStatement
|
||||
description: secureValueTypeBankStatement attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypeBankStatement
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypeBankStatement = ['_' => 'secureValueTypeBankStatement'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypeBankStatement"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypeBankStatement={_='secureValueTypeBankStatement'}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/secureValueTypeDriverLicense.md
Normal file
38
docs/API_docs/constructors/secureValueTypeDriverLicense.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypeDriverLicense
|
||||
description: secureValueTypeDriverLicense attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypeDriverLicense
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypeDriverLicense = ['_' => 'secureValueTypeDriverLicense'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypeDriverLicense"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypeDriverLicense={_='secureValueTypeDriverLicense'}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/secureValueTypeEmail.md
Normal file
38
docs/API_docs/constructors/secureValueTypeEmail.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypeEmail
|
||||
description: secureValueTypeEmail attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypeEmail
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypeEmail = ['_' => 'secureValueTypeEmail'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypeEmail"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypeEmail={_='secureValueTypeEmail'}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/secureValueTypeIdentityCard.md
Normal file
38
docs/API_docs/constructors/secureValueTypeIdentityCard.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypeIdentityCard
|
||||
description: secureValueTypeIdentityCard attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypeIdentityCard
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypeIdentityCard = ['_' => 'secureValueTypeIdentityCard'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypeIdentityCard"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypeIdentityCard={_='secureValueTypeIdentityCard'}
|
||||
|
||||
```
|
||||
|
||||
|
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypeInternalPassport
|
||||
description: secureValueTypeInternalPassport attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypeInternalPassport
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypeInternalPassport = ['_' => 'secureValueTypeInternalPassport'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypeInternalPassport"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypeInternalPassport={_='secureValueTypeInternalPassport'}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/secureValueTypePassport.md
Normal file
38
docs/API_docs/constructors/secureValueTypePassport.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypePassport
|
||||
description: secureValueTypePassport attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypePassport
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypePassport = ['_' => 'secureValueTypePassport'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypePassport"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypePassport={_='secureValueTypePassport'}
|
||||
|
||||
```
|
||||
|
||||
|
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypePassportRegistration
|
||||
description: secureValueTypePassportRegistration attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypePassportRegistration
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypePassportRegistration = ['_' => 'secureValueTypePassportRegistration'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypePassportRegistration"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypePassportRegistration={_='secureValueTypePassportRegistration'}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/secureValueTypePersonalDetails.md
Normal file
38
docs/API_docs/constructors/secureValueTypePersonalDetails.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypePersonalDetails
|
||||
description: secureValueTypePersonalDetails attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypePersonalDetails
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypePersonalDetails = ['_' => 'secureValueTypePersonalDetails'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypePersonalDetails"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypePersonalDetails={_='secureValueTypePersonalDetails'}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/secureValueTypePhone.md
Normal file
38
docs/API_docs/constructors/secureValueTypePhone.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypePhone
|
||||
description: secureValueTypePhone attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypePhone
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypePhone = ['_' => 'secureValueTypePhone'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypePhone"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypePhone={_='secureValueTypePhone'}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/secureValueTypeRentalAgreement.md
Normal file
38
docs/API_docs/constructors/secureValueTypeRentalAgreement.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypeRentalAgreement
|
||||
description: secureValueTypeRentalAgreement attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypeRentalAgreement
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypeRentalAgreement = ['_' => 'secureValueTypeRentalAgreement'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypeRentalAgreement"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypeRentalAgreement={_='secureValueTypeRentalAgreement'}
|
||||
|
||||
```
|
||||
|
||||
|
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypeTemporaryRegistration
|
||||
description: secureValueTypeTemporaryRegistration attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypeTemporaryRegistration
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypeTemporaryRegistration = ['_' => 'secureValueTypeTemporaryRegistration'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypeTemporaryRegistration"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypeTemporaryRegistration={_='secureValueTypeTemporaryRegistration'}
|
||||
|
||||
```
|
||||
|
||||
|
38
docs/API_docs/constructors/secureValueTypeUtilityBill.md
Normal file
38
docs/API_docs/constructors/secureValueTypeUtilityBill.md
Normal file
@ -0,0 +1,38 @@
|
||||
---
|
||||
title: secureValueTypeUtilityBill
|
||||
description: secureValueTypeUtilityBill attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: secureValueTypeUtilityBill
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Type: [SecureValueType](../types/SecureValueType.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$secureValueTypeUtilityBill = ['_' => 'secureValueTypeUtilityBill'];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "secureValueTypeUtilityBill"}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
secureValueTypeUtilityBill={_='secureValueTypeUtilityBill'}
|
||||
|
||||
```
|
||||
|
||||
|
@ -12,10 +12,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|installed|[Bool](../types/Bool.md) | Optional|
|
||||
|archived|[Bool](../types/Bool.md) | Optional|
|
||||
|official|[Bool](../types/Bool.md) | Optional|
|
||||
|masks|[Bool](../types/Bool.md) | Optional|
|
||||
|installed\_date|[int](../types/int.md) | Optional|
|
||||
|id|[long](../types/long.md) | Yes|
|
||||
|access\_hash|[long](../types/long.md) | Yes|
|
||||
|title|[string](../types/string.md) | Yes|
|
||||
@ -31,13 +31,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int];
|
||||
$stickerSet = ['_' => 'stickerSet', 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'installed_date' => int, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'count' => int, 'hash' => int];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "stickerSet", "installed": Bool, "archived": Bool, "official": Bool, "masks": Bool, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int}
|
||||
{"_": "stickerSet", "archived": Bool, "official": Bool, "masks": Bool, "installed_date": int, "id": long, "access_hash": long, "title": "string", "short_name": "string", "count": int, "hash": int}
|
||||
```
|
||||
|
||||
|
||||
@ -45,7 +45,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int}
|
||||
stickerSet={_='stickerSet', archived=Bool, official=Bool, masks=Bool, installed_date=int, id=long, access_hash=long, title='string', short_name='string', count=int, hash=int}
|
||||
|
||||
```
|
||||
|
||||
|
@ -13,7 +13,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|pinned|[Bool](../types/Bool.md) | Optional|
|
||||
|peer|[Peer](../types/Peer.md) | Yes|
|
||||
|peer|[DialogPeer](../types/DialogPeer.md) | Yes|
|
||||
|
||||
|
||||
|
||||
@ -23,13 +23,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer];
|
||||
$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => DialogPeer];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "updateDialogPinned", "pinned": Bool, "peer": Peer}
|
||||
{"_": "updateDialogPinned", "pinned": Bool, "peer": DialogPeer}
|
||||
```
|
||||
|
||||
|
||||
@ -37,7 +37,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer}
|
||||
updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=DialogPeer}
|
||||
|
||||
```
|
||||
|
||||
|
@ -13,7 +13,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|peer|[NotifyPeer](../types/NotifyPeer.md) | Yes|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|
|
||||
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|order|Array of [Peer](../types/Peer.md) | Optional|
|
||||
|order|Array of [DialogPeer](../types/DialogPeer.md) | Optional|
|
||||
|
||||
|
||||
|
||||
@ -22,13 +22,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [Peer, Peer]];
|
||||
$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [DialogPeer, DialogPeer]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "updatePinnedDialogs", "order": [Peer]}
|
||||
{"_": "updatePinnedDialogs", "order": [DialogPeer]}
|
||||
```
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
updatePinnedDialogs={_='updatePinnedDialogs', order={Peer}}
|
||||
updatePinnedDialogs={_='updatePinnedDialogs', order={DialogPeer}}
|
||||
|
||||
```
|
||||
|
||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|file\_token|[bytes](../types/bytes.md) | Yes|
|
||||
|encryption\_key|[bytes](../types/bytes.md) | Yes|
|
||||
|encryption\_iv|[bytes](../types/bytes.md) | Yes|
|
||||
|cdn\_file\_hashes|Array of [CdnFileHash](../types/CdnFileHash.md) | Yes|
|
||||
|file\_hashes|Array of [FileHash](../types/FileHash.md) | Yes|
|
||||
|
||||
|
||||
|
||||
@ -26,13 +26,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'cdn_file_hashes' => [CdnFileHash, CdnFileHash]];
|
||||
$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "upload.fileCdnRedirect", "dc_id": int, "file_token": {"_": "bytes", "bytes":"base64 encoded bytes"}, "encryption_key": {"_": "bytes", "bytes":"base64 encoded bytes"}, "encryption_iv": {"_": "bytes", "bytes":"base64 encoded bytes"}, "cdn_file_hashes": [CdnFileHash]}
|
||||
{"_": "upload.fileCdnRedirect", "dc_id": int, "file_token": {"_": "bytes", "bytes":"base64 encoded bytes"}, "encryption_key": {"_": "bytes", "bytes":"base64 encoded bytes"}, "encryption_iv": {"_": "bytes", "bytes":"base64 encoded bytes"}, "file_hashes": [FileHash]}
|
||||
```
|
||||
|
||||
|
||||
@ -40,7 +40,7 @@ Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', cdn_file_hashes={CdnFileHash}}
|
||||
upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}}
|
||||
|
||||
```
|
||||
|
||||
|
@ -19,7 +19,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|about|[string](../types/string.md) | Optional|
|
||||
|link|[contacts\_Link](../types/contacts_Link.md) | Yes|
|
||||
|profile\_photo|[Photo](../types/Photo.md) | Optional|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|
|
||||
|bot\_info|[BotInfo](../types/BotInfo.md) | Optional|
|
||||
|common\_chats\_count|[int](../types/int.md) | Yes|
|
||||
|
||||
|
46
docs/API_docs/constructors/webDocumentNoProxy.md
Normal file
46
docs/API_docs/constructors/webDocumentNoProxy.md
Normal file
@ -0,0 +1,46 @@
|
||||
---
|
||||
title: webDocumentNoProxy
|
||||
description: webDocumentNoProxy attributes, type and example
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: webDocumentNoProxy
|
||||
[Back to constructors index](index.md)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|url|[string](../types/string.md) | Yes|
|
||||
|size|[int](../types/int.md) | Yes|
|
||||
|mime\_type|[string](../types/string.md) | Yes|
|
||||
|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [WebDocument](../types/WebDocument.md)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$webDocumentNoProxy = ['_' => 'webDocumentNoProxy', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]];
|
||||
```
|
||||
|
||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||
|
||||
```
|
||||
{"_": "webDocumentNoProxy", "url": "string", "size": int, "mime_type": "string", "attributes": [DocumentAttribute]}
|
||||
```
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
|
||||
```
|
||||
webDocumentNoProxy={_='webDocumentNoProxy', url='string', size=int, mime_type='string', attributes={DocumentAttribute}}
|
||||
|
||||
```
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
---
|
||||
title: MadelineProto API documentation (layer 75)
|
||||
description: MadelineProto API documentation (layer 75)
|
||||
title: MadelineProto API documentation (layer 81)
|
||||
description: MadelineProto API documentation (layer 81)
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# MadelineProto API documentation (layer 75)
|
||||
# MadelineProto API documentation (layer 81)
|
||||
|
||||
[Back to main documentation](..)
|
||||
|
||||
|
80
docs/API_docs/methods/account_acceptAuthorization.md
Normal file
80
docs/API_docs/methods/account_acceptAuthorization.md
Normal file
@ -0,0 +1,80 @@
|
||||
---
|
||||
title: account.acceptAuthorization
|
||||
description: Accept telegram password authorization
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.acceptAuthorization
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Accept telegram password authorization
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|bot\_id|[int](../types/int.md) | Yes|Bot ID|
|
||||
|scope|[string](../types/string.md) | Yes|Scope|
|
||||
|public\_key|[string](../types/string.md) | Yes|The bot's RSA public key|
|
||||
|value\_hashes|Array of [SecureValueHash](../types/SecureValueHash.md) | Yes|Hashes of the encrypted credentials|
|
||||
|credentials|[SecureCredentialsEncrypted](../types/SecureCredentialsEncrypted.md) | Yes|Encrypted secure credentials|
|
||||
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example:
|
||||
|
||||
|
||||
```
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$Bool = $MadelineProto->account->acceptAuthorization(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', 'value_hashes' => [SecureValueHash, SecureValueHash], 'credentials' => SecureCredentialsEncrypted, ]);
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
|
||||
### As a bot:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||
|
||||
Parameters:
|
||||
|
||||
* method - account.acceptAuthorization
|
||||
* params - `{"bot_id": int, "scope": "string", "public_key": "string", "value_hashes": [SecureValueHash], "credentials": SecureCredentialsEncrypted, }`
|
||||
|
||||
|
||||
|
||||
### As a user:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.acceptAuthorization`
|
||||
|
||||
Parameters:
|
||||
|
||||
bot_id - Json encoded int
|
||||
|
||||
scope - Json encoded string
|
||||
|
||||
public_key - Json encoded string
|
||||
|
||||
value_hashes - Json encoded array of SecureValueHash
|
||||
|
||||
credentials - Json encoded SecureCredentialsEncrypted
|
||||
|
||||
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
Bool = account.acceptAuthorization({bot_id=int, scope='string', public_key='string', value_hashes={SecureValueHash}, credentials=SecureCredentialsEncrypted, })
|
||||
```
|
||||
|
68
docs/API_docs/methods/account_deleteSecureValue.md
Normal file
68
docs/API_docs/methods/account_deleteSecureValue.md
Normal file
@ -0,0 +1,68 @@
|
||||
---
|
||||
title: account.deleteSecureValue
|
||||
description: Delete secure telegram passport value
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.deleteSecureValue
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Delete secure telegram passport value
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|types|Array of [SecureValueType](../types/SecureValueType.md) | Yes|The values to delete|
|
||||
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example:
|
||||
|
||||
|
||||
```
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$Bool = $MadelineProto->account->deleteSecureValue(['types' => [SecureValueType, SecureValueType], ]);
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
|
||||
### As a bot:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||
|
||||
Parameters:
|
||||
|
||||
* method - account.deleteSecureValue
|
||||
* params - `{"types": [SecureValueType], }`
|
||||
|
||||
|
||||
|
||||
### As a user:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.deleteSecureValue`
|
||||
|
||||
Parameters:
|
||||
|
||||
types - Json encoded array of SecureValueType
|
||||
|
||||
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
Bool = account.deleteSecureValue({types={SecureValueType}, })
|
||||
```
|
||||
|
68
docs/API_docs/methods/account_finishTakeoutSession.md
Normal file
68
docs/API_docs/methods/account_finishTakeoutSession.md
Normal file
@ -0,0 +1,68 @@
|
||||
---
|
||||
title: account.finishTakeoutSession
|
||||
description: Finish account exporting session
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.finishTakeoutSession
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Finish account exporting session
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|success|[Bool](../types/Bool.md) | Optional|Did the data export succeed?|
|
||||
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example:
|
||||
|
||||
|
||||
```
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$Bool = $MadelineProto->account->finishTakeoutSession(['success' => Bool, ]);
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
|
||||
### As a bot:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||
|
||||
Parameters:
|
||||
|
||||
* method - account.finishTakeoutSession
|
||||
* params - `{"success": Bool, }`
|
||||
|
||||
|
||||
|
||||
### As a user:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.finishTakeoutSession`
|
||||
|
||||
Parameters:
|
||||
|
||||
success - Json encoded Bool
|
||||
|
||||
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
Bool = account.finishTakeoutSession({success=Bool, })
|
||||
```
|
||||
|
61
docs/API_docs/methods/account_getAllSecureValues.md
Normal file
61
docs/API_docs/methods/account_getAllSecureValues.md
Normal file
@ -0,0 +1,61 @@
|
||||
---
|
||||
title: account.getAllSecureValues
|
||||
description: Get all secure telegram passport values
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.getAllSecureValues
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Get all secure telegram passport values
|
||||
|
||||
|
||||
|
||||
### Return type: [Vector\_of\_SecureValue](../types/SecureValue.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example:
|
||||
|
||||
|
||||
```
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$Vector_of_SecureValue = $MadelineProto->account->getAllSecureValues();
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
|
||||
### As a bot:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||
|
||||
Parameters:
|
||||
|
||||
* method - account.getAllSecureValues
|
||||
* params - `{}`
|
||||
|
||||
|
||||
|
||||
### As a user:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAllSecureValues`
|
||||
|
||||
Parameters:
|
||||
|
||||
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
Vector_of_SecureValue = account.getAllSecureValues({})
|
||||
```
|
||||
|
74
docs/API_docs/methods/account_getAuthorizationForm.md
Normal file
74
docs/API_docs/methods/account_getAuthorizationForm.md
Normal file
@ -0,0 +1,74 @@
|
||||
---
|
||||
title: account.getAuthorizationForm
|
||||
description: Bots only: get telegram passport authorization form
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.getAuthorizationForm
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Bots only: get telegram passport authorization form
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|bot\_id|[int](../types/int.md) | Yes|Bot ID|
|
||||
|scope|[string](../types/string.md) | Yes|Scope|
|
||||
|public\_key|[string](../types/string.md) | Yes|Bot's public key|
|
||||
|
||||
|
||||
### Return type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example:
|
||||
|
||||
|
||||
```
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$account_AuthorizationForm = $MadelineProto->account->getAuthorizationForm(['bot_id' => int, 'scope' => 'string', 'public_key' => 'string', ]);
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
|
||||
### As a bot:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||
|
||||
Parameters:
|
||||
|
||||
* method - account.getAuthorizationForm
|
||||
* params - `{"bot_id": int, "scope": "string", "public_key": "string", }`
|
||||
|
||||
|
||||
|
||||
### As a user:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getAuthorizationForm`
|
||||
|
||||
Parameters:
|
||||
|
||||
bot_id - Json encoded int
|
||||
|
||||
scope - Json encoded string
|
||||
|
||||
public_key - Json encoded string
|
||||
|
||||
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
account_AuthorizationForm = account.getAuthorizationForm({bot_id=int, scope='string', public_key='string', })
|
||||
```
|
||||
|
68
docs/API_docs/methods/account_getSecureValue.md
Normal file
68
docs/API_docs/methods/account_getSecureValue.md
Normal file
@ -0,0 +1,68 @@
|
||||
---
|
||||
title: account.getSecureValue
|
||||
description: Get secure value for telegram passport
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.getSecureValue
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Get secure value for telegram passport
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|types|Array of [SecureValueType](../types/SecureValueType.md) | Yes|Get telegram passport secure parameters|
|
||||
|
||||
|
||||
### Return type: [Vector\_of\_SecureValue](../types/SecureValue.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example:
|
||||
|
||||
|
||||
```
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$Vector_of_SecureValue = $MadelineProto->account->getSecureValue(['types' => [SecureValueType, SecureValueType], ]);
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
|
||||
### As a bot:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||
|
||||
Parameters:
|
||||
|
||||
* method - account.getSecureValue
|
||||
* params - `{"types": [SecureValueType], }`
|
||||
|
||||
|
||||
|
||||
### As a user:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.getSecureValue`
|
||||
|
||||
Parameters:
|
||||
|
||||
types - Json encoded array of SecureValueType
|
||||
|
||||
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
Vector_of_SecureValue = account.getSecureValue({types={SecureValueType}, })
|
||||
```
|
||||
|
86
docs/API_docs/methods/account_initTakeoutSession.md
Normal file
86
docs/API_docs/methods/account_initTakeoutSession.md
Normal file
@ -0,0 +1,86 @@
|
||||
---
|
||||
title: account.initTakeoutSession
|
||||
description: Start account exporting session
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.initTakeoutSession
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Start account exporting session
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|contacts|[Bool](../types/Bool.md) | Optional|Export contacts?|
|
||||
|message\_users|[Bool](../types/Bool.md) | Optional|Export users?|
|
||||
|message\_chats|[Bool](../types/Bool.md) | Optional|Export chats?|
|
||||
|message\_megagroups|[Bool](../types/Bool.md) | Optional|Export supergroups?|
|
||||
|message\_channels|[Bool](../types/Bool.md) | Optional|Export channel messages?|
|
||||
|files|[Bool](../types/Bool.md) | Optional|Export files?|
|
||||
|file\_max\_size|[int](../types/int.md) | Optional|Export only files smaller than this size|
|
||||
|
||||
|
||||
### Return type: [account\_Takeout](../types/account_Takeout.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example:
|
||||
|
||||
|
||||
```
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$account_Takeout = $MadelineProto->account->initTakeoutSession(['contacts' => Bool, 'message_users' => Bool, 'message_chats' => Bool, 'message_megagroups' => Bool, 'message_channels' => Bool, 'files' => Bool, 'file_max_size' => int, ]);
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
|
||||
### As a bot:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||
|
||||
Parameters:
|
||||
|
||||
* method - account.initTakeoutSession
|
||||
* params - `{"contacts": Bool, "message_users": Bool, "message_chats": Bool, "message_megagroups": Bool, "message_channels": Bool, "files": Bool, "file_max_size": int, }`
|
||||
|
||||
|
||||
|
||||
### As a user:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.initTakeoutSession`
|
||||
|
||||
Parameters:
|
||||
|
||||
contacts - Json encoded Bool
|
||||
|
||||
message_users - Json encoded Bool
|
||||
|
||||
message_chats - Json encoded Bool
|
||||
|
||||
message_megagroups - Json encoded Bool
|
||||
|
||||
message_channels - Json encoded Bool
|
||||
|
||||
files - Json encoded Bool
|
||||
|
||||
file_max_size - Json encoded int
|
||||
|
||||
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
account_Takeout = account.initTakeoutSession({contacts=Bool, message_users=Bool, message_chats=Bool, message_megagroups=Bool, message_channels=Bool, files=Bool, file_max_size=int, })
|
||||
```
|
||||
|
@ -16,6 +16,7 @@ Register device for push notifications
|
||||
|token\_type|[int](../types/int.md) | Yes|Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone, 6 - Blackberry, and other, see source code of official apps for more info|
|
||||
|token|[string](../types/string.md) | Yes|Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info|
|
||||
|app\_sandbox|[Bool](../types/Bool.md) | Yes|Should the app run in a sandbox?|
|
||||
|secret|[bytes](../types/bytes.md) | Yes|Secret|
|
||||
|other\_uids|Array of [int](../types/int.md) | Yes|Other UIDs|
|
||||
|
||||
|
||||
@ -36,7 +37,7 @@ include 'madeline.php';
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'app_sandbox' => Bool, 'other_uids' => [int, int], ]);
|
||||
$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => 'string', 'app_sandbox' => Bool, 'secret' => 'bytes', 'other_uids' => [int, int], ]);
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
@ -55,6 +56,8 @@ token - Json encoded string
|
||||
|
||||
app_sandbox - Json encoded Bool
|
||||
|
||||
secret - Json encoded bytes
|
||||
|
||||
other_uids - Json encoded array of int
|
||||
|
||||
|
||||
@ -63,7 +66,7 @@ other_uids - Json encoded array of int
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
Bool = account.registerDevice({token_type=int, token='string', app_sandbox=Bool, other_uids={int}, })
|
||||
Bool = account.registerDevice({token_type=int, token='string', app_sandbox=Bool, secret='bytes', other_uids={int}, })
|
||||
```
|
||||
|
||||
### Errors this method can return:
|
||||
|
71
docs/API_docs/methods/account_saveSecureValue.md
Normal file
71
docs/API_docs/methods/account_saveSecureValue.md
Normal file
@ -0,0 +1,71 @@
|
||||
---
|
||||
title: account.saveSecureValue
|
||||
description: Save telegram passport secure value
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.saveSecureValue
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Save telegram passport secure value
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|value|[InputSecureValue](../types/InputSecureValue.md) | Yes|Encrypted value|
|
||||
|secure\_secret\_id|[long](../types/long.md) | Yes|Secret|
|
||||
|
||||
|
||||
### Return type: [SecureValue](../types/SecureValue.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example:
|
||||
|
||||
|
||||
```
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$SecureValue = $MadelineProto->account->saveSecureValue(['value' => InputSecureValue, 'secure_secret_id' => long, ]);
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
|
||||
### As a bot:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||
|
||||
Parameters:
|
||||
|
||||
* method - account.saveSecureValue
|
||||
* params - `{"value": InputSecureValue, "secure_secret_id": long, }`
|
||||
|
||||
|
||||
|
||||
### As a user:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.saveSecureValue`
|
||||
|
||||
Parameters:
|
||||
|
||||
value - Json encoded InputSecureValue
|
||||
|
||||
secure_secret_id - Json encoded long
|
||||
|
||||
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
SecureValue = account.saveSecureValue({value=InputSecureValue, secure_secret_id=long, })
|
||||
```
|
||||
|
68
docs/API_docs/methods/account_sendVerifyEmailCode.md
Normal file
68
docs/API_docs/methods/account_sendVerifyEmailCode.md
Normal file
@ -0,0 +1,68 @@
|
||||
---
|
||||
title: account.sendVerifyEmailCode
|
||||
description: Send email verification code
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.sendVerifyEmailCode
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Send email verification code
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|email|[string](../types/string.md) | Yes|Email|
|
||||
|
||||
|
||||
### Return type: [account\_SentEmailCode](../types/account_SentEmailCode.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example:
|
||||
|
||||
|
||||
```
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$account_SentEmailCode = $MadelineProto->account->sendVerifyEmailCode(['email' => 'string', ]);
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
|
||||
### As a bot:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||
|
||||
Parameters:
|
||||
|
||||
* method - account.sendVerifyEmailCode
|
||||
* params - `{"email": "string", }`
|
||||
|
||||
|
||||
|
||||
### As a user:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendVerifyEmailCode`
|
||||
|
||||
Parameters:
|
||||
|
||||
email - Json encoded string
|
||||
|
||||
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
account_SentEmailCode = account.sendVerifyEmailCode({email='string', })
|
||||
```
|
||||
|
74
docs/API_docs/methods/account_sendVerifyPhoneCode.md
Normal file
74
docs/API_docs/methods/account_sendVerifyPhoneCode.md
Normal file
@ -0,0 +1,74 @@
|
||||
---
|
||||
title: account.sendVerifyPhoneCode
|
||||
description: Send phone verification code
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.sendVerifyPhoneCode
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Send phone verification code
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|allow\_flashcall|[Bool](../types/Bool.md) | Optional|Allow phone calls?|
|
||||
|phone\_number|[string](../types/string.md) | Yes|The phone number|
|
||||
|current\_number|[Bool](../types/Bool.md) | Optional|Is this the current number?|
|
||||
|
||||
|
||||
### Return type: [auth\_SentCode](../types/auth_SentCode.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example:
|
||||
|
||||
|
||||
```
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$auth_SentCode = $MadelineProto->account->sendVerifyPhoneCode(['allow_flashcall' => Bool, 'phone_number' => 'string', 'current_number' => Bool, ]);
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
|
||||
### As a bot:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||
|
||||
Parameters:
|
||||
|
||||
* method - account.sendVerifyPhoneCode
|
||||
* params - `{"allow_flashcall": Bool, "phone_number": "string", "current_number": Bool, }`
|
||||
|
||||
|
||||
|
||||
### As a user:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.sendVerifyPhoneCode`
|
||||
|
||||
Parameters:
|
||||
|
||||
allow_flashcall - Json encoded Bool
|
||||
|
||||
phone_number - Json encoded string
|
||||
|
||||
current_number - Json encoded Bool
|
||||
|
||||
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
auth_SentCode = account.sendVerifyPhoneCode({allow_flashcall=Bool, phone_number='string', current_number=Bool, })
|
||||
```
|
||||
|
71
docs/API_docs/methods/account_verifyEmail.md
Normal file
71
docs/API_docs/methods/account_verifyEmail.md
Normal file
@ -0,0 +1,71 @@
|
||||
---
|
||||
title: account.verifyEmail
|
||||
description: Verify email address
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.verifyEmail
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Verify email address
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|email|[string](../types/string.md) | Yes|The email address|
|
||||
|code|[string](../types/string.md) | Yes|The received code|
|
||||
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example:
|
||||
|
||||
|
||||
```
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$Bool = $MadelineProto->account->verifyEmail(['email' => 'string', 'code' => 'string', ]);
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
|
||||
### As a bot:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||
|
||||
Parameters:
|
||||
|
||||
* method - account.verifyEmail
|
||||
* params - `{"email": "string", "code": "string", }`
|
||||
|
||||
|
||||
|
||||
### As a user:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.verifyEmail`
|
||||
|
||||
Parameters:
|
||||
|
||||
email - Json encoded string
|
||||
|
||||
code - Json encoded string
|
||||
|
||||
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
Bool = account.verifyEmail({email='string', code='string', })
|
||||
```
|
||||
|
74
docs/API_docs/methods/account_verifyPhone.md
Normal file
74
docs/API_docs/methods/account_verifyPhone.md
Normal file
@ -0,0 +1,74 @@
|
||||
---
|
||||
title: account.verifyPhone
|
||||
description: Verify phone number
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.verifyPhone
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Verify phone number
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|phone\_number|[string](../types/string.md) | Yes|The phone number|
|
||||
|phone\_code\_hash|[string](../types/string.md) | Yes|The phone code hash returned by account.sendVerifyPhoneCode|
|
||||
|phone\_code|[string](../types/string.md) | Yes|The phone code type returned by account.sendVerifyPhoneCode|
|
||||
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example:
|
||||
|
||||
|
||||
```
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$Bool = $MadelineProto->account->verifyPhone(['phone_number' => 'string', 'phone_code_hash' => 'string', 'phone_code' => 'string', ]);
|
||||
```
|
||||
|
||||
### [PWRTelegram HTTP API](https://pwrtelegram.xyz) example (NOT FOR MadelineProto):
|
||||
|
||||
### As a bot:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||
|
||||
Parameters:
|
||||
|
||||
* method - account.verifyPhone
|
||||
* params - `{"phone_number": "string", "phone_code_hash": "string", "phone_code": "string", }`
|
||||
|
||||
|
||||
|
||||
### As a user:
|
||||
|
||||
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/account.verifyPhone`
|
||||
|
||||
Parameters:
|
||||
|
||||
phone_number - Json encoded string
|
||||
|
||||
phone_code_hash - Json encoded string
|
||||
|
||||
phone_code - Json encoded string
|
||||
|
||||
|
||||
|
||||
|
||||
Or, if you're into Lua:
|
||||
|
||||
```
|
||||
Bool = account.verifyPhone({phone_number='string', phone_code_hash='string', phone_code='string', })
|
||||
```
|
||||
|
@ -36,6 +36,8 @@ $MadelineProto->[request_secret_chat](https://docs.madelineproto.xyz/request_sec
|
||||
|
||||
***
|
||||
<br><br>
|
||||
$MadelineProto->[account->acceptAuthorization](account_acceptAuthorization.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), 'value_hashes' => \[[SecureValueHash](../types/SecureValueHash.md)\], 'credentials' => [SecureCredentialsEncrypted](../types/SecureCredentialsEncrypted.md), \]) === [$Bool](../types/Bool.md)<a name="account_acceptAuthorization"></a>
|
||||
|
||||
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_changePhone"></a>
|
||||
|
||||
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_checkUsername"></a>
|
||||
@ -44,8 +46,16 @@ $MadelineProto->[account->confirmPhone](account_confirmPhone.md)(\['phone_code_h
|
||||
|
||||
$MadelineProto->[account->deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_deleteAccount"></a>
|
||||
|
||||
$MadelineProto->[account->deleteSecureValue](account_deleteSecureValue.md)(\['types' => \[[SecureValueType](../types/SecureValueType.md)\], \]) === [$Bool](../types/Bool.md)<a name="account_deleteSecureValue"></a>
|
||||
|
||||
$MadelineProto->[account->finishTakeoutSession](account_finishTakeoutSession.md)(\['success' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="account_finishTakeoutSession"></a>
|
||||
|
||||
$MadelineProto->[account->getAccountTTL](account_getAccountTTL.md)(\[\]) === [$AccountDaysTTL](../types/AccountDaysTTL.md)<a name="account_getAccountTTL"></a>
|
||||
|
||||
$MadelineProto->[account->getAllSecureValues](account_getAllSecureValues.md)(\[\]) === [$Vector\_of\_SecureValue](../types/SecureValue.md)<a name="account_getAllSecureValues"></a>
|
||||
|
||||
$MadelineProto->[account->getAuthorizationForm](account_getAuthorizationForm.md)(\['bot_id' => [int](../types/int.md), 'scope' => [string](../types/string.md), 'public_key' => [string](../types/string.md), \]) === [$account\_AuthorizationForm](../types/account_AuthorizationForm.md)<a name="account_getAuthorizationForm"></a>
|
||||
|
||||
$MadelineProto->[account->getAuthorizations](account_getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md)<a name="account_getAuthorizations"></a>
|
||||
|
||||
$MadelineProto->[account->getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) === [$PeerNotifySettings](../types/PeerNotifySettings.md)<a name="account_getNotifySettings"></a>
|
||||
@ -56,13 +66,17 @@ $MadelineProto->[account->getPasswordSettings](account_getPasswordSettings.md)(\
|
||||
|
||||
$MadelineProto->[account->getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md)<a name="account_getPrivacy"></a>
|
||||
|
||||
$MadelineProto->[account->getSecureValue](account_getSecureValue.md)(\['types' => \[[SecureValueType](../types/SecureValueType.md)\], \]) === [$Vector\_of\_SecureValue](../types/SecureValue.md)<a name="account_getSecureValue"></a>
|
||||
|
||||
$MadelineProto->[account->getTmpPassword](account_getTmpPassword.md)(\['password_hash' => [bytes](../types/bytes.md), 'period' => [int](../types/int.md), \]) === [$account\_TmpPassword](../types/account_TmpPassword.md)<a name="account_getTmpPassword"></a>
|
||||
|
||||
$MadelineProto->[account->getWallPapers](account_getWallPapers.md)(\[\]) === [$Vector\_of\_WallPaper](../types/WallPaper.md)<a name="account_getWallPapers"></a>
|
||||
|
||||
$MadelineProto->[account->getWebAuthorizations](account_getWebAuthorizations.md)(\[\]) === [$account\_WebAuthorizations](../types/account_WebAuthorizations.md)<a name="account_getWebAuthorizations"></a>
|
||||
|
||||
$MadelineProto->[account->registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'other_uids' => \[[int](../types/int.md)\], \]) === [$Bool](../types/Bool.md)<a name="account_registerDevice"></a>
|
||||
$MadelineProto->[account->initTakeoutSession](account_initTakeoutSession.md)(\['contacts' => [Bool](../types/Bool.md), 'message_users' => [Bool](../types/Bool.md), 'message_chats' => [Bool](../types/Bool.md), 'message_megagroups' => [Bool](../types/Bool.md), 'message_channels' => [Bool](../types/Bool.md), 'files' => [Bool](../types/Bool.md), 'file_max_size' => [int](../types/int.md), \]) === [$account\_Takeout](../types/account_Takeout.md)<a name="account_initTakeoutSession"></a>
|
||||
|
||||
$MadelineProto->[account->registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), 'app_sandbox' => [Bool](../types/Bool.md), 'secret' => [bytes](../types/bytes.md), 'other_uids' => \[[int](../types/int.md)\], \]) === [$Bool](../types/Bool.md)<a name="account_registerDevice"></a>
|
||||
|
||||
$MadelineProto->[account->reportPeer](account_reportPeer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reason' => [ReportReason](../types/ReportReason.md), \]) === [$Bool](../types/Bool.md)<a name="account_reportPeer"></a>
|
||||
|
||||
@ -74,10 +88,16 @@ $MadelineProto->[account->resetWebAuthorization](account_resetWebAuthorization.m
|
||||
|
||||
$MadelineProto->[account->resetWebAuthorizations](account_resetWebAuthorizations.md)(\[\]) === [$Bool](../types/Bool.md)<a name="account_resetWebAuthorizations"></a>
|
||||
|
||||
$MadelineProto->[account->saveSecureValue](account_saveSecureValue.md)(\['value' => [InputSecureValue](../types/InputSecureValue.md), 'secure_secret_id' => [long](../types/long.md), \]) === [$SecureValue](../types/SecureValue.md)<a name="account_saveSecureValue"></a>
|
||||
|
||||
$MadelineProto->[account->sendChangePhoneCode](account_sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md)<a name="account_sendChangePhoneCode"></a>
|
||||
|
||||
$MadelineProto->[account->sendConfirmPhoneCode](account_sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md)<a name="account_sendConfirmPhoneCode"></a>
|
||||
|
||||
$MadelineProto->[account->sendVerifyEmailCode](account_sendVerifyEmailCode.md)(\['email' => [string](../types/string.md), \]) === [$account\_SentEmailCode](../types/account_SentEmailCode.md)<a name="account_sendVerifyEmailCode"></a>
|
||||
|
||||
$MadelineProto->[account->sendVerifyPhoneCode](account_sendVerifyPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md)<a name="account_sendVerifyPhoneCode"></a>
|
||||
|
||||
$MadelineProto->[account->setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) === [$Bool](../types/Bool.md)<a name="account_setAccountTTL"></a>
|
||||
|
||||
$MadelineProto->[account->setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) === [$account\_PrivacyRules](../types/account_PrivacyRules.md)<a name="account_setPrivacy"></a>
|
||||
@ -96,6 +116,10 @@ $MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' =>
|
||||
|
||||
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) === [$User](../types/User.md)<a name="account_updateUsername"></a>
|
||||
|
||||
$MadelineProto->[account->verifyEmail](account_verifyEmail.md)(\['email' => [string](../types/string.md), 'code' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_verifyEmail"></a>
|
||||
|
||||
$MadelineProto->[account->verifyPhone](account_verifyPhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="account_verifyPhone"></a>
|
||||
|
||||
***
|
||||
<br><br>
|
||||
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="auth_bindTempAuthKey"></a>
|
||||
@ -104,8 +128,6 @@ $MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [stri
|
||||
|
||||
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_checkPassword"></a>
|
||||
|
||||
$MadelineProto->[auth->checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) === [$auth\_CheckedPhone](../types/auth_CheckedPhone.md)<a name="auth_checkPhone"></a>
|
||||
|
||||
$MadelineProto->[auth->dropTempAuthKeys](auth_dropTempAuthKeys.md)(\['except_auth_keys' => \[[long](../types/long.md)\], \]) === [$Bool](../types/Bool.md)<a name="auth_dropTempAuthKeys"></a>
|
||||
|
||||
$MadelineProto->[auth->exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) === [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)<a name="auth_exportAuthorization"></a>
|
||||
@ -126,8 +148,6 @@ $MadelineProto->[auth->resetAuthorizations](auth_resetAuthorizations.md)(\[\]) =
|
||||
|
||||
$MadelineProto->[auth->sendCode](auth_sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) === [$auth\_SentCode](../types/auth_SentCode.md)<a name="auth_sendCode"></a>
|
||||
|
||||
$MadelineProto->[auth->sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="auth_sendInvites"></a>
|
||||
|
||||
$MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signIn"></a>
|
||||
|
||||
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) === [$auth\_Authorization](../types/auth_Authorization.md)<a name="auth_signUp"></a>
|
||||
@ -174,6 +194,8 @@ $MadelineProto->[channels->getChannels](channels_getChannels.md)(\['id' => \[[In
|
||||
|
||||
$MadelineProto->[channels->getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md)<a name="channels_getFullChannel"></a>
|
||||
|
||||
$MadelineProto->[channels->getLeftChannels](channels_getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getLeftChannels"></a>
|
||||
|
||||
$MadelineProto->[channels->getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="channels_getMessages"></a>
|
||||
|
||||
$MadelineProto->[channels->getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)<a name="channels_getParticipant"></a>
|
||||
@ -218,6 +240,8 @@ $MadelineProto->[contacts->getBlocked](contacts_getBlocked.md)(\['offset' => [in
|
||||
|
||||
$MadelineProto->[contacts->getContacts](contacts_getContacts.md)(\['hash' => [int](../types/int.md), \]) === [$contacts\_Contacts](../types/contacts_Contacts.md)<a name="contacts_getContacts"></a>
|
||||
|
||||
$MadelineProto->[contacts->getSaved](contacts_getSaved.md)(\[\]) === [$Vector\_of\_SavedContact](../types/SavedContact.md)<a name="contacts_getSaved"></a>
|
||||
|
||||
$MadelineProto->[contacts->getStatuses](contacts_getStatuses.md)(\[\]) === [$Vector\_of\_ContactStatus](../types/ContactStatus.md)<a name="contacts_getStatuses"></a>
|
||||
|
||||
$MadelineProto->[contacts->getTopPeers](contacts_getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md)<a name="contacts_getTopPeers"></a>
|
||||
@ -238,6 +262,8 @@ $MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](.
|
||||
|
||||
***
|
||||
<br><br>
|
||||
$MadelineProto->[help->acceptTermsOfService](help_acceptTermsOfService.md)(\['id' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="help_acceptTermsOfService"></a>
|
||||
|
||||
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
|
||||
|
||||
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) === [$help\_AppUpdate](../types/help_AppUpdate.md)<a name="help_getAppUpdate"></a>
|
||||
@ -246,15 +272,19 @@ $MadelineProto->[help->getCdnConfig](help_getCdnConfig.md)(\[\]) === [$CdnConfig
|
||||
|
||||
$MadelineProto->[help->getConfig](help_getConfig.md)(\[\]) === [$Config](../types/Config.md)<a name="help_getConfig"></a>
|
||||
|
||||
$MadelineProto->[help->getDeepLinkInfo](help_getDeepLinkInfo.md)(\['path' => [string](../types/string.md), \]) === [$help\_DeepLinkInfo](../types/help_DeepLinkInfo.md)<a name="help_getDeepLinkInfo"></a>
|
||||
|
||||
$MadelineProto->[help->getInviteText](help_getInviteText.md)(\[\]) === [$help\_InviteText](../types/help_InviteText.md)<a name="help_getInviteText"></a>
|
||||
|
||||
$MadelineProto->[help->getNearestDc](help_getNearestDc.md)(\[\]) === [$NearestDc](../types/NearestDc.md)<a name="help_getNearestDc"></a>
|
||||
|
||||
$MadelineProto->[help->getProxyData](help_getProxyData.md)(\[\]) === [$help\_ProxyData](../types/help_ProxyData.md)<a name="help_getProxyData"></a>
|
||||
|
||||
$MadelineProto->[help->getRecentMeUrls](help_getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md)<a name="help_getRecentMeUrls"></a>
|
||||
|
||||
$MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md)<a name="help_getSupport"></a>
|
||||
|
||||
$MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md)<a name="help_getTermsOfService"></a>
|
||||
$MadelineProto->[help->getTermsOfServiceUpdate](help_getTermsOfServiceUpdate.md)(\[\]) === [$help\_TermsOfServiceUpdate](../types/help_TermsOfServiceUpdate.md)<a name="help_getTermsOfServiceUpdate"></a>
|
||||
|
||||
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) === [$Bool](../types/Bool.md)<a name="help_saveAppLog"></a>
|
||||
|
||||
@ -262,7 +292,7 @@ $MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pend
|
||||
|
||||
***
|
||||
<br><br>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'proxy' => [InputClientProxy](../types/InputClientProxy.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
|
||||
|
||||
***
|
||||
<br><br>
|
||||
@ -276,6 +306,14 @@ $MadelineProto->[invokeAfterMsgs](invokeAfterMsgs.md)(\['msg_ids' => \[[long](..
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../types/int.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithLayer"></a>
|
||||
|
||||
***
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithMessagesRange](invokeWithMessagesRange.md)(\['range' => [MessageRange](../types/MessageRange.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithMessagesRange"></a>
|
||||
|
||||
***
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithTakeout](invokeWithTakeout.md)(\['takeout_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithTakeout"></a>
|
||||
|
||||
***
|
||||
<br><br>
|
||||
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
|
||||
@ -316,9 +354,9 @@ $MadelineProto->[messages->editChatPhoto](messages_editChatPhoto.md)(\['chat_id'
|
||||
|
||||
$MadelineProto->[messages->editChatTitle](messages_editChatTitle.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'title' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="messages_editChatTitle"></a>
|
||||
|
||||
$MadelineProto->[messages->editInlineBotMessage](messages_editInlineBotMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'stop_geo_live' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]) === [$Bool](../types/Bool.md)<a name="messages_editInlineBotMessage"></a>
|
||||
$MadelineProto->[messages->editInlineBotMessage](messages_editInlineBotMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'stop_geo_live' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]) === [$Bool](../types/Bool.md)<a name="messages_editInlineBotMessage"></a>
|
||||
|
||||
$MadelineProto->[messages->editMessage](messages_editMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'stop_geo_live' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]) === [$Updates](../types/Updates.md)<a name="messages_editMessage"></a>
|
||||
$MadelineProto->[messages->editMessage](messages_editMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'stop_geo_live' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [InputMedia](../types/InputMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]) === [$Updates](../types/Updates.md)<a name="messages_editMessage"></a>
|
||||
|
||||
$MadelineProto->[messages->exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$ExportedChatInvite](../types/ExportedChatInvite.md)<a name="messages_exportChatInvite"></a>
|
||||
|
||||
@ -370,21 +408,23 @@ $MadelineProto->[messages->getMessages](messages_getMessages.md)(\['id' => \[[In
|
||||
|
||||
$MadelineProto->[messages->getMessagesViews](messages_getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'increment' => [Bool](../types/Bool.md), \]) === [$Vector\_of\_int](../types/int.md)<a name="messages_getMessagesViews"></a>
|
||||
|
||||
$MadelineProto->[messages->getPeerDialogs](messages_getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md)<a name="messages_getPeerDialogs"></a>
|
||||
$MadelineProto->[messages->getPeerDialogs](messages_getPeerDialogs.md)(\['peers' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md)<a name="messages_getPeerDialogs"></a>
|
||||
|
||||
$MadelineProto->[messages->getPeerSettings](messages_getPeerSettings.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$PeerSettings](../types/PeerSettings.md)<a name="messages_getPeerSettings"></a>
|
||||
|
||||
$MadelineProto->[messages->getPinnedDialogs](messages_getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md)<a name="messages_getPinnedDialogs"></a>
|
||||
|
||||
$MadelineProto->[messages->getRecentLocations](messages_getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="messages_getRecentLocations"></a>
|
||||
$MadelineProto->[messages->getRecentLocations](messages_getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="messages_getRecentLocations"></a>
|
||||
|
||||
$MadelineProto->[messages->getRecentStickers](messages_getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md)<a name="messages_getRecentStickers"></a>
|
||||
|
||||
$MadelineProto->[messages->getSavedGifs](messages_getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md)<a name="messages_getSavedGifs"></a>
|
||||
|
||||
$MadelineProto->[messages->getSplitRanges](messages_getSplitRanges.md)(\[\]) === [$Vector\_of\_MessageRange](../types/MessageRange.md)<a name="messages_getSplitRanges"></a>
|
||||
|
||||
$MadelineProto->[messages->getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="messages_getStickerSet"></a>
|
||||
|
||||
$MadelineProto->[messages->getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [string](../types/string.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md)<a name="messages_getStickers"></a>
|
||||
$MadelineProto->[messages->getStickers](messages_getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Stickers](../types/messages_Stickers.md)<a name="messages_getStickers"></a>
|
||||
|
||||
$MadelineProto->[messages->getUnreadMentions](messages_getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="messages_getUnreadMentions"></a>
|
||||
|
||||
@ -414,10 +454,12 @@ $MadelineProto->[messages->receivedMessages](messages_receivedMessages.md)(\['ma
|
||||
|
||||
$MadelineProto->[messages->receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) === [$Vector\_of\_long](../types/long.md)<a name="messages_receivedQueue"></a>
|
||||
|
||||
$MadelineProto->[messages->reorderPinnedDialogs](messages_reorderPinnedDialogs.md)(\['force' => [Bool](../types/Bool.md), 'order' => \[[InputPeer](../types/InputPeer.md)\], \]) === [$Bool](../types/Bool.md)<a name="messages_reorderPinnedDialogs"></a>
|
||||
$MadelineProto->[messages->reorderPinnedDialogs](messages_reorderPinnedDialogs.md)(\['force' => [Bool](../types/Bool.md), 'order' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$Bool](../types/Bool.md)<a name="messages_reorderPinnedDialogs"></a>
|
||||
|
||||
$MadelineProto->[messages->reorderStickerSets](messages_reorderStickerSets.md)(\['masks' => [Bool](../types/Bool.md), 'order' => \[[long](../types/long.md)\], \]) === [$Bool](../types/Bool.md)<a name="messages_reorderStickerSets"></a>
|
||||
|
||||
$MadelineProto->[messages->report](messages_report.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'reason' => [ReportReason](../types/ReportReason.md), \]) === [$Bool](../types/Bool.md)<a name="messages_report"></a>
|
||||
|
||||
$MadelineProto->[messages->reportEncryptedSpam](messages_reportEncryptedSpam.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), \]) === [$Bool](../types/Bool.md)<a name="messages_reportEncryptedSpam"></a>
|
||||
|
||||
$MadelineProto->[messages->reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$Bool](../types/Bool.md)<a name="messages_reportSpam"></a>
|
||||
@ -430,12 +472,14 @@ $MadelineProto->[messages->saveGif](messages_saveGif.md)(\['id' => [InputDocumen
|
||||
|
||||
$MadelineProto->[messages->saveRecentSticker](messages_saveRecentSticker.md)(\['attached' => [Bool](../types/Bool.md), 'id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="messages_saveRecentSticker"></a>
|
||||
|
||||
$MadelineProto->[messages->search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="messages_search"></a>
|
||||
$MadelineProto->[messages->search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="messages_search"></a>
|
||||
|
||||
$MadelineProto->[messages->searchGifs](messages_searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md)<a name="messages_searchGifs"></a>
|
||||
|
||||
$MadelineProto->[messages->searchGlobal](messages_searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="messages_searchGlobal"></a>
|
||||
|
||||
$MadelineProto->[messages->searchStickerSets](messages_searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md)<a name="messages_searchStickerSets"></a>
|
||||
|
||||
$MadelineProto->[messages->sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)<a name="messages_sendEncrypted"></a>
|
||||
|
||||
$MadelineProto->[messages->sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'message' => [DecryptedMessage](../types/DecryptedMessage.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) === [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)<a name="messages_sendEncryptedFile"></a>
|
||||
@ -472,7 +516,7 @@ $MadelineProto->[messages->startBot](messages_startBot.md)(\['bot' => [InputUser
|
||||
|
||||
$MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'enabled' => [Bool](../types/Bool.md), \]) === [$Updates](../types/Updates.md)<a name="messages_toggleChatAdmins"></a>
|
||||
|
||||
$MadelineProto->[messages->toggleDialogPin](messages_toggleDialogPin.md)(\['pinned' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), \]) === [$Bool](../types/Bool.md)<a name="messages_toggleDialogPin"></a>
|
||||
$MadelineProto->[messages->toggleDialogPin](messages_toggleDialogPin.md)(\['pinned' => [Bool](../types/Bool.md), 'peer' => [InputDialogPeer](../types/InputDialogPeer.md), \]) === [$Bool](../types/Bool.md)<a name="messages_toggleDialogPin"></a>
|
||||
|
||||
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
|
||||
|
||||
@ -544,13 +588,15 @@ $MadelineProto->[updates->getState](updates_getState.md)(\[\]) === [$updates\_St
|
||||
<br><br>
|
||||
$MadelineProto->[upload->getCdnFile](upload_getCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_CdnFile](../types/upload_CdnFile.md)<a name="upload_getCdnFile"></a>
|
||||
|
||||
$MadelineProto->[upload->getCdnFileHashes](upload_getCdnFileHashes.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_CdnFileHash](../types/CdnFileHash.md)<a name="upload_getCdnFileHashes"></a>
|
||||
$MadelineProto->[upload->getCdnFileHashes](upload_getCdnFileHashes.md)(\['file_token' => [bytes](../types/bytes.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_FileHash](../types/FileHash.md)<a name="upload_getCdnFileHashes"></a>
|
||||
|
||||
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_File](../types/upload_File.md)<a name="upload_getFile"></a>
|
||||
|
||||
$MadelineProto->[upload->getFileHashes](upload_getFileHashes.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), \]) === [$Vector\_of\_FileHash](../types/FileHash.md)<a name="upload_getFileHashes"></a>
|
||||
|
||||
$MadelineProto->[upload->getWebFile](upload_getWebFile.md)(\['location' => [InputWebFileLocation](../types/InputWebFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$upload\_WebFile](../types/upload_WebFile.md)<a name="upload_getWebFile"></a>
|
||||
|
||||
$MadelineProto->[upload->reuploadCdnFile](upload_reuploadCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'request_token' => [bytes](../types/bytes.md), \]) === [$Vector\_of\_CdnFileHash](../types/CdnFileHash.md)<a name="upload_reuploadCdnFile"></a>
|
||||
$MadelineProto->[upload->reuploadCdnFile](upload_reuploadCdnFile.md)(\['file_token' => [bytes](../types/bytes.md), 'request_token' => [bytes](../types/bytes.md), \]) === [$Vector\_of\_FileHash](../types/FileHash.md)<a name="upload_reuploadCdnFile"></a>
|
||||
|
||||
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) === [$Bool](../types/Bool.md)<a name="upload_saveBigFilePart"></a>
|
||||
|
||||
@ -562,3 +608,5 @@ $MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser]
|
||||
|
||||
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) === [$Vector\_of\_User](../types/User.md)<a name="users_getUsers"></a>
|
||||
|
||||
$MadelineProto->[users->setSecureValueErrors](users_setSecureValueErrors.md)(\['id' => [InputUser](../types/InputUser.md), 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], \]) === [$Bool](../types/Bool.md)<a name="users_setSecureValueErrors"></a>
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user