Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
This commit is contained in:
parent
20e50a34f0
commit
4baac3178e
@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$accessPointRule = ['_' => 'accessPointRule', 'phone_prefix_rules' => 'string', 'dc_id' => int, 'ips' => [IpPort, IpPort]];
|
$accessPointRule = ['_' => 'accessPointRule', 'phone_prefix_rules' => 'string', 'dc_id' => int, 'ips' => [IpPort, IpPort]];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -36,8 +36,7 @@ $accessPointRule = ['_' => 'accessPointRule', 'phone_prefix_rules' => 'string',
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
accessPointRule={_='accessPointRule', phone_prefix_rules='string', dc_id=int, ips={IpPort}}
|
accessPointRule={_='accessPointRule', phone_prefix_rules='string', dc_id=int, ips={IpPort}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int];
|
$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
accountDaysTTL={_='accountDaysTTL', days=int}
|
accountDaysTTL={_='accountDaysTTL', days=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$account_authorizationForm = ['_' => 'account.authorizationForm', 'selfie_required' => Bool, 'required_types' => [SecureValueType, SecureValueType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string'];
|
$account_authorizationForm = ['_' => 'account.authorizationForm', 'selfie_required' => Bool, 'required_types' => [SecureValueType, SecureValueType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,8 +39,7 @@ $account_authorizationForm = ['_' => 'account.authorizationForm', 'selfie_requir
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
account_authorizationForm={_='account.authorizationForm', selfie_required=Bool, required_types={SecureValueType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'}
|
account_authorizationForm={_='account.authorizationForm', selfie_required=Bool, required_types={SecureValueType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]];
|
$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $account_authorizations = ['_' => 'account.authorizations', 'authorizations' =>
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
account_authorizations={_='account.authorizations', authorizations={Authorization}}
|
account_authorizations={_='account.authorizations', authorizations={Authorization}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'email_unconfirmed_pattern' => 'string'];
|
$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'email_unconfirmed_pattern' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -37,8 +37,7 @@ $account_noPassword = ['_' => 'account.noPassword', 'new_salt' => 'bytes', 'new_
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
account_noPassword={_='account.noPassword', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', email_unconfirmed_pattern='string'}
|
account_noPassword={_='account.noPassword', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', email_unconfirmed_pattern='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'hint' => 'string', 'email_unconfirmed_pattern' => 'string'];
|
$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'new_secure_salt' => 'bytes', 'secure_random' => 'bytes', 'hint' => 'string', 'email_unconfirmed_pattern' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -41,8 +41,7 @@ $account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_sec
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, current_salt='bytes', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', hint='string', email_unconfirmed_pattern='string'}
|
account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, current_salt='bytes', new_salt='bytes', new_secure_salt='bytes', secure_random='bytes', hint='string', email_unconfirmed_pattern='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_salt' => 'bytes', 'new_secure_secret' => 'bytes', 'new_secure_secret_id' => long];
|
$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_salt' => 'bytes', 'new_secure_secret' => 'bytes', 'new_secure_secret_id' => long];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -42,8 +42,7 @@ $account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_s
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string', new_secure_salt='bytes', new_secure_secret='bytes', new_secure_secret_id=long}
|
account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string', new_secure_salt='bytes', new_secure_secret='bytes', new_secure_secret_id=long}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long];
|
$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_salt' => 'bytes', 'secure_secret' => 'bytes', 'secure_secret_id' => long];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -37,8 +37,7 @@ $account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'stri
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
account_passwordSettings={_='account.passwordSettings', email='string', secure_salt='bytes', secure_secret='bytes', secure_secret_id=long}
|
account_passwordSettings={_='account.passwordSettings', email='string', secure_salt='bytes', secure_secret='bytes', secure_secret_id=long}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]];
|
$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule,
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}}
|
account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int];
|
$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'st
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int}
|
account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$account_takeout = ['_' => 'account.takeout', 'id' => long];
|
$account_takeout = ['_' => 'account.takeout', 'id' => long];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $account_takeout = ['_' => 'account.takeout', 'id' => long];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
account_takeout={_='account.takeout', id=long}
|
account_takeout={_='account.takeout', id=long}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int];
|
$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes',
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int}
|
account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]];
|
$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorization
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}}
|
account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User];
|
$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
auth_authorization={_='auth.authorization', tmp_sessions=int, user=User}
|
auth_authorization={_='auth.authorization', tmp_sessions=int, user=User}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool];
|
$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool}
|
auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$auth_codeTypeCall = ['_' => 'auth.codeTypeCall'];
|
$auth_codeTypeCall = ['_' => 'auth.codeTypeCall'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $auth_codeTypeCall = ['_' => 'auth.codeTypeCall'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
auth_codeTypeCall={_='auth.codeTypeCall'}
|
auth_codeTypeCall={_='auth.codeTypeCall'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall'];
|
$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'}
|
auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$auth_codeTypeSms = ['_' => 'auth.codeTypeSms'];
|
$auth_codeTypeSms = ['_' => 'auth.codeTypeSms'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $auth_codeTypeSms = ['_' => 'auth.codeTypeSms'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
auth_codeTypeSms={_='auth.codeTypeSms'}
|
auth_codeTypeSms={_='auth.codeTypeSms'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes'];
|
$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int,
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'}
|
auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string'];
|
$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'st
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'}
|
auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$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];
|
$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];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,8 +39,7 @@ $auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' =>
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
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}
|
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}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int];
|
$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int}
|
auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int];
|
$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int}
|
auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string'];
|
$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' =>
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'}
|
auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int];
|
$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int}
|
auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -32,7 +32,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string'];
|
$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -45,8 +45,7 @@ $authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'str
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'}
|
authorization={_='authorization', hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -24,7 +24,7 @@ Represents command supported by bot
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string'];
|
$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -37,8 +37,7 @@ $botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'str
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
botCommand={_='botCommand', command='string', description='string'}
|
botCommand={_='botCommand', command='string', description='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]];
|
$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -36,8 +36,7 @@ $botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'comm
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
botInfo={_='botInfo', user_id=int, description='string', commands={BotCommand}}
|
botInfo={_='botInfo', user_id=int, description='string', commands={BotCommand}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage];
|
$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -40,8 +40,7 @@ $botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type'
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage}
|
botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup];
|
$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -36,8 +36,7 @@ $botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'message' => '
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', message='string', entities={MessageEntity}, reply_markup=ReplyMarkup}
|
botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', message='string', entities={MessageEntity}, reply_markup=ReplyMarkup}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'vcard' => 'string', 'reply_markup' => ReplyMarkup];
|
$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'vcard' => 'string', 'reply_markup' => ReplyMarkup];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -38,8 +38,7 @@ $botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_n
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', vcard='string', reply_markup=ReplyMarkup}
|
botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', vcard='string', reply_markup=ReplyMarkup}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup];
|
$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -36,8 +36,7 @@ $botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoin
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, period=int, reply_markup=ReplyMarkup}
|
botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, period=int, reply_markup=ReplyMarkup}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -27,7 +27,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string', 'reply_markup' => ReplyMarkup];
|
$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string', 'reply_markup' => ReplyMarkup];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -40,8 +40,7 @@ $botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => Geo
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string', reply_markup=ReplyMarkup}
|
botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string', reply_markup=ReplyMarkup}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup];
|
$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -37,8 +37,7 @@ $botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'm
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup}
|
botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => WebDocument, 'content' => WebDocument, 'send_message' => BotInlineMessage];
|
$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => WebDocument, 'content' => WebDocument, 'send_message' => BotInlineMessage];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -41,8 +41,7 @@ $botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'strin
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb=WebDocument, content=WebDocument, send_message=BotInlineMessage}
|
botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb=WebDocument, content=WebDocument, send_message=BotInlineMessage}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]];
|
$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]]
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}}
|
cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string'];
|
$cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string'
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
cdnPublicKey={_='cdnPublicKey', dc_id=int, public_key='string'}
|
cdnPublicKey={_='cdnPublicKey', dc_id=int, public_key='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -41,7 +41,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'editor' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => 'string', 'admin_rights' => ChannelAdminRights, 'banned_rights' => ChannelBannedRights, 'participants_count' => int];
|
$channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'editor' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => 'string', 'admin_rights' => ChannelAdminRights, 'banned_rights' => ChannelBannedRights, 'participants_count' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -54,8 +54,7 @@ $channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'editor' => Boo
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channel={_='channel', creator=Bool, left=Bool, editor=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, democracy=Bool, signatures=Bool, min=Bool, id=int, access_hash=long, title='string', username='string', photo=ChatPhoto, date=int, version=int, restriction_reason='string', admin_rights=ChannelAdminRights, banned_rights=ChannelBannedRights, participants_count=int}
|
channel={_='channel', creator=Bool, left=Bool, editor=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, democracy=Bool, signatures=Bool, min=Bool, id=int, access_hash=long, title='string', username='string', photo=ChatPhoto, date=int, version=int, restriction_reason='string', admin_rights=ChannelAdminRights, banned_rights=ChannelBannedRights, participants_count=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -24,7 +24,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction];
|
$channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -37,8 +37,7 @@ $channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' =>
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEvent={_='channelAdminLogEvent', id=long, date=int, user_id=int, action=ChannelAdminLogEventAction}
|
channelAdminLogEvent={_='channelAdminLogEvent', id=long, date=int, user_id=int, action=ChannelAdminLogEventAction}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string'];
|
$channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChan
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'}
|
channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto];
|
$channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChan
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto}
|
channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActionChangeStickerSet', 'prev_stickerset' => InputStickerSet, 'new_stickerset' => InputStickerSet];
|
$channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActionChangeStickerSet', 'prev_stickerset' => InputStickerSet, 'new_stickerset' => InputStickerSet];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActio
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionChangeStickerSet={_='channelAdminLogEventActionChangeStickerSet', prev_stickerset=InputStickerSet, new_stickerset=InputStickerSet}
|
channelAdminLogEventActionChangeStickerSet={_='channelAdminLogEventActionChangeStickerSet', prev_stickerset=InputStickerSet, new_stickerset=InputStickerSet}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string'];
|
$channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChan
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'}
|
channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string'];
|
$channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionC
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'}
|
channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message];
|
$channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDe
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message}
|
channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message];
|
$channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEdit
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message}
|
channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant];
|
$channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActi
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant}
|
channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin'];
|
$channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventAction
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'}
|
channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave'];
|
$channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActio
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'}
|
channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];
|
$channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEven
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant}
|
channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];
|
$channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventA
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant}
|
channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool];
|
$channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionTo
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool}
|
channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEventActionTogglePreHistoryHidden', 'new_value' => Bool];
|
$channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEventActionTogglePreHistoryHidden', 'new_value' => Bool];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEven
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionTogglePreHistoryHidden={_='channelAdminLogEventActionTogglePreHistoryHidden', new_value=Bool}
|
channelAdminLogEventActionTogglePreHistoryHidden={_='channelAdminLogEventActionTogglePreHistoryHidden', new_value=Bool}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool];
|
$channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActio
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool}
|
channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message];
|
$channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpd
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message}
|
channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -34,7 +34,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelAdminLogEventsFilter = ['_' => 'channelAdminLogEventsFilter', 'join' => Bool, 'leave' => Bool, 'invite' => Bool, 'ban' => Bool, 'unban' => Bool, 'kick' => Bool, 'unkick' => Bool, 'promote' => Bool, 'demote' => Bool, 'info' => Bool, 'settings' => Bool, 'pinned' => Bool, 'edit' => Bool, 'delete' => Bool];
|
$channelAdminLogEventsFilter = ['_' => 'channelAdminLogEventsFilter', 'join' => Bool, 'leave' => Bool, 'invite' => Bool, 'ban' => Bool, 'unban' => Bool, 'kick' => Bool, 'unkick' => Bool, 'promote' => Bool, 'demote' => Bool, 'info' => Bool, 'settings' => Bool, 'pinned' => Bool, 'edit' => Bool, 'delete' => Bool];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -47,8 +47,7 @@ $channelAdminLogEventsFilter = ['_' => 'channelAdminLogEventsFilter', 'join' =>
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelAdminLogEventsFilter={_='channelAdminLogEventsFilter', join=Bool, leave=Bool, invite=Bool, ban=Bool, unban=Bool, kick=Bool, unkick=Bool, promote=Bool, demote=Bool, info=Bool, settings=Bool, pinned=Bool, edit=Bool, delete=Bool}
|
channelAdminLogEventsFilter={_='channelAdminLogEventsFilter', join=Bool, leave=Bool, invite=Bool, ban=Bool, unban=Bool, kick=Bool, unkick=Bool, promote=Bool, demote=Bool, info=Bool, settings=Bool, pinned=Bool, edit=Bool, delete=Bool}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -30,7 +30,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$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];
|
$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];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -43,8 +43,7 @@ $channelAdminRights = ['_' => 'channelAdminRights', 'change_info' => Bool, 'post
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```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, manage_call=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}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -29,7 +29,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelBannedRights = ['_' => 'channelBannedRights', 'view_messages' => Bool, 'send_messages' => Bool, 'send_media' => Bool, 'send_stickers' => Bool, 'send_gifs' => Bool, 'send_games' => Bool, 'send_inline' => Bool, 'embed_links' => Bool, 'until_date' => int];
|
$channelBannedRights = ['_' => 'channelBannedRights', 'view_messages' => Bool, 'send_messages' => Bool, 'send_media' => Bool, 'send_stickers' => Bool, 'send_gifs' => Bool, 'send_games' => Bool, 'send_inline' => Bool, 'embed_links' => Bool, 'until_date' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -42,8 +42,7 @@ $channelBannedRights = ['_' => 'channelBannedRights', 'view_messages' => Bool, '
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelBannedRights={_='channelBannedRights', view_messages=Bool, send_messages=Bool, send_media=Bool, send_stickers=Bool, send_gifs=Bool, send_games=Bool, send_inline=Bool, embed_links=Bool, until_date=int}
|
channelBannedRights={_='channelBannedRights', view_messages=Bool, send_messages=Bool, send_media=Bool, send_stickers=Bool, send_gifs=Bool, send_games=Bool, send_inline=Bool, embed_links=Bool, until_date=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int];
|
$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'until_date' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,8 +39,7 @@ $channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup'
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title='string', until_date=int}
|
channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title='string', until_date=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -42,7 +42,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int];
|
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -55,8 +55,7 @@ $channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_count=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, stickerset=StickerSet, available_min_id=int}
|
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_count=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, stickerset=StickerSet, available_min_id=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]];
|
$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange, MessageRange]];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages'
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}}
|
channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty'];
|
$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'}
|
channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int];
|
$channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $channelParticipant = ['_' => 'channelParticipant', 'user_id' => int, 'date' =>
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelParticipant={_='channelParticipant', user_id=int, date=int}
|
channelParticipant={_='channelParticipant', user_id=int, date=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights];
|
$channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,8 +39,7 @@ $channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelParticipantAdmin={_='channelParticipantAdmin', can_edit=Bool, user_id=int, inviter_id=int, promoted_by=int, date=int, admin_rights=ChannelAdminRights}
|
channelParticipantAdmin={_='channelParticipantAdmin', can_edit=Bool, user_id=int, inviter_id=int, promoted_by=int, date=int, admin_rights=ChannelAdminRights}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights];
|
$channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -38,8 +38,7 @@ $channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool,
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelParticipantBanned={_='channelParticipantBanned', left=Bool, user_id=int, kicked_by=int, date=int, banned_rights=ChannelBannedRights}
|
channelParticipantBanned={_='channelParticipantBanned', left=Bool, user_id=int, kicked_by=int, date=int, banned_rights=ChannelBannedRights}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int];
|
$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => i
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelParticipantCreator={_='channelParticipantCreator', user_id=int}
|
channelParticipantCreator={_='channelParticipantCreator', user_id=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int];
|
$channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'inviter_id' => int, 'date' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -36,8 +36,7 @@ $channelParticipantSelf = ['_' => 'channelParticipantSelf', 'user_id' => int, 'i
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int}
|
channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins'];
|
$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelParticipantsAdmins={_='channelParticipantsAdmins'}
|
channelParticipantsAdmins={_='channelParticipantsAdmins'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string'];
|
$channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelParticipantsBanned={_='channelParticipantsBanned', q='string'}
|
channelParticipantsBanned={_='channelParticipantsBanned', q='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelParticipantsBots = ['_' => 'channelParticipantsBots'];
|
$channelParticipantsBots = ['_' => 'channelParticipantsBots'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $channelParticipantsBots = ['_' => 'channelParticipantsBots'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelParticipantsBots={_='channelParticipantsBots'}
|
channelParticipantsBots={_='channelParticipantsBots'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string'];
|
$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelParticipantsKicked={_='channelParticipantsKicked', q='string'}
|
channelParticipantsKicked={_='channelParticipantsKicked', q='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelParticipantsRecent = ['_' => 'channelParticipantsRecent'];
|
$channelParticipantsRecent = ['_' => 'channelParticipantsRecent'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $channelParticipantsRecent = ['_' => 'channelParticipantsRecent'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelParticipantsRecent={_='channelParticipantsRecent'}
|
channelParticipantsRecent={_='channelParticipantsRecent'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string'];
|
$channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channelParticipantsSearch={_='channelParticipantsSearch', q='string'}
|
channelParticipantsSearch={_='channelParticipantsSearch', q='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]];
|
$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -36,8 +36,7 @@ $channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [Cha
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}}
|
channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]];
|
$channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participant' => ChannelParticipant, 'users' => [User, User]];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $channels_channelParticipant = ['_' => 'channels.channelParticipant', 'participa
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}}
|
channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]];
|
$channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count' => int, 'participants' => [ChannelParticipant, ChannelParticipant], 'users' => [User, User]];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -36,8 +36,7 @@ $channels_channelParticipants = ['_' => 'channels.channelParticipants', 'count'
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}}
|
channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified'];
|
$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipants
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'}
|
channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -33,7 +33,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel];
|
$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -46,8 +46,7 @@ $chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'ad
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel}
|
chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title='string', photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatEmpty = ['_' => 'chatEmpty', 'id' => int];
|
$chatEmpty = ['_' => 'chatEmpty', 'id' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $chatEmpty = ['_' => 'chatEmpty', 'id' => int];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatEmpty={_='chatEmpty', id=int}
|
chatEmpty={_='chatEmpty', id=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string'];
|
$chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $chatForbidden = ['_' => 'chatForbidden', 'id' => int, 'title' => 'string'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatForbidden={_='chatForbidden', id=int, title='string'}
|
chatForbidden={_='chatForbidden', id=int, title='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -26,7 +26,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]];
|
$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo]];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,8 +39,7 @@ $chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants,
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}}
|
chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -28,7 +28,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]];
|
$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -41,8 +41,7 @@ $chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'pub
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=ChatPhoto, participants_count=int, participants={User}}
|
chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=ChatPhoto, participants_count=int, participants={User}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat];
|
$chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $chatInviteAlready = ['_' => 'chatInviteAlready', 'chat' => Chat];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatInviteAlready={_='chatInviteAlready', chat=Chat}
|
chatInviteAlready={_='chatInviteAlready', chat=Chat}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatInviteEmpty = ['_' => 'chatInviteEmpty'];
|
$chatInviteEmpty = ['_' => 'chatInviteEmpty'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $chatInviteEmpty = ['_' => 'chatInviteEmpty'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatInviteEmpty={_='chatInviteEmpty'}
|
chatInviteEmpty={_='chatInviteEmpty'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string'];
|
$chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $chatInviteExported = ['_' => 'chatInviteExported', 'link' => 'string'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatInviteExported={_='chatInviteExported', link='string'}
|
chatInviteExported={_='chatInviteExported', link='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int];
|
$chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' => int, 'date' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -36,8 +36,7 @@ $chatParticipant = ['_' => 'chatParticipant', 'user_id' => int, 'inviter_id' =>
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int}
|
chatParticipant={_='chatParticipant', user_id=int, inviter_id=int, date=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int];
|
$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -36,8 +36,7 @@ $chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'invit
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int}
|
chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -21,7 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int];
|
$chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,8 +34,7 @@ $chatParticipantCreator = ['_' => 'chatParticipantCreator', 'user_id' => int];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatParticipantCreator={_='chatParticipantCreator', user_id=int}
|
chatParticipantCreator={_='chatParticipantCreator', user_id=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -23,7 +23,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int];
|
$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -36,8 +36,7 @@ $chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants'
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int}
|
chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant];
|
$chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => int, 'self_participant' => ChatParticipant];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $chatParticipantsForbidden = ['_' => 'chatParticipantsForbidden', 'chat_id' => i
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant}
|
chatParticipantsForbidden={_='chatParticipantsForbidden', chat_id=int, self_participant=ChatParticipant}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation];
|
$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' =>
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation}
|
chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$chatPhotoEmpty = ['_' => 'chatPhotoEmpty'];
|
$chatPhotoEmpty = ['_' => 'chatPhotoEmpty'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $chatPhotoEmpty = ['_' => 'chatPhotoEmpty'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
chatPhotoEmpty={_='chatPhotoEmpty'}
|
chatPhotoEmpty={_='chatPhotoEmpty'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -68,7 +68,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts' => Bool, 'preload_featured_stickers' => Bool, 'ignore_phone_entities' => Bool, 'revoke_pm_inbox' => Bool, 'blocked_mode' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'dc_txt_domain_name' => 'string', 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'revoke_time_limit' => int, 'revoke_pm_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'autoupdate_url_prefix' => 'string', 'gif_search_username' => 'string', 'venue_search_username' => 'string', 'img_search_username' => 'string', 'static_maps_provider' => 'string', 'caption_length_max' => int, 'message_length_max' => int, 'webfile_dc_id' => int, 'suggested_lang_code' => 'string', 'lang_pack_version' => int];
|
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts' => Bool, 'preload_featured_stickers' => Bool, 'ignore_phone_entities' => Bool, 'revoke_pm_inbox' => Bool, 'blocked_mode' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'dc_txt_domain_name' => 'string', 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'revoke_time_limit' => int, 'revoke_pm_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'autoupdate_url_prefix' => 'string', 'gif_search_username' => 'string', 'venue_search_username' => 'string', 'img_search_username' => 'string', 'static_maps_provider' => 'string', 'caption_length_max' => int, 'message_length_max' => int, 'webfile_dc_id' => int, 'suggested_lang_code' => 'string', 'lang_pack_version' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -81,8 +81,7 @@ $config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts'
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
config={_='config', phonecalls_enabled=Bool, default_p2p_contacts=Bool, preload_featured_stickers=Bool, ignore_phone_entities=Bool, revoke_pm_inbox=Bool, blocked_mode=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, dc_txt_domain_name='string', chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, revoke_time_limit=int, revoke_pm_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, channels_read_media_period=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', autoupdate_url_prefix='string', gif_search_username='string', venue_search_username='string', img_search_username='string', static_maps_provider='string', caption_length_max=int, message_length_max=int, webfile_dc_id=int, suggested_lang_code='string', lang_pack_version=int}
|
config={_='config', phonecalls_enabled=Bool, default_p2p_contacts=Bool, preload_featured_stickers=Bool, ignore_phone_entities=Bool, revoke_pm_inbox=Bool, blocked_mode=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, dc_txt_domain_name='string', chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, revoke_time_limit=int, revoke_pm_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, channels_read_media_period=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', autoupdate_url_prefix='string', gif_search_username='string', venue_search_username='string', img_search_username='string', static_maps_provider='string', caption_length_max=int, message_length_max=int, webfile_dc_id=int, suggested_lang_code='string', lang_pack_version=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool];
|
$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
contact={_='contact', user_id=int, mutual=Bool}
|
contact={_='contact', user_id=int, mutual=Bool}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int];
|
$contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $contactBlocked = ['_' => 'contactBlocked', 'user_id' => int, 'date' => int];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
contactBlocked={_='contactBlocked', user_id=int, date=int}
|
contactBlocked={_='contactBlocked', user_id=int, date=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$contactLinkContact = ['_' => 'contactLinkContact'];
|
$contactLinkContact = ['_' => 'contactLinkContact'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $contactLinkContact = ['_' => 'contactLinkContact'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
contactLinkContact={_='contactLinkContact'}
|
contactLinkContact={_='contactLinkContact'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$contactLinkHasPhone = ['_' => 'contactLinkHasPhone'];
|
$contactLinkHasPhone = ['_' => 'contactLinkHasPhone'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $contactLinkHasPhone = ['_' => 'contactLinkHasPhone'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
contactLinkHasPhone={_='contactLinkHasPhone'}
|
contactLinkHasPhone={_='contactLinkHasPhone'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$contactLinkNone = ['_' => 'contactLinkNone'];
|
$contactLinkNone = ['_' => 'contactLinkNone'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $contactLinkNone = ['_' => 'contactLinkNone'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
contactLinkNone={_='contactLinkNone'}
|
contactLinkNone={_='contactLinkNone'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$contactLinkUnknown = ['_' => 'contactLinkUnknown'];
|
$contactLinkUnknown = ['_' => 'contactLinkUnknown'];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -29,8 +29,7 @@ $contactLinkUnknown = ['_' => 'contactLinkUnknown'];
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
contactLinkUnknown={_='contactLinkUnknown'}
|
contactLinkUnknown={_='contactLinkUnknown'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -22,7 +22,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```php
|
||||||
$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus];
|
$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus];
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,8 +35,7 @@ $contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStat
|
|||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
```
|
|
||||||
contactStatus={_='contactStatus', user_id=int, status=UserStatus}
|
contactStatus={_='contactStatus', user_id=int, status=UserStatus}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user